PowerShell EncodedCommand Generator

Turn a PowerShell command into the encoded text that powershell -EncodedCommand needs, so quotes and special characters survive the trip.

1 Paste or type your text

2 Your answer

Your answer shows here as you type.

How to use the PowerShell EncodedCommand Generator

  1. Paste the PowerShell command you want to run.
  2. Copy the line in the box below into PowerShell.

Frequently asked questions

What is EncodedCommand for?

It lets PowerShell run a command sent as Base64 text, so quotes and special characters are not broken when the command passes through a command line.

Is my command sent anywhere?

No. It is converted in your browser and never leaves your device.

Wrote something with AI? Slop Monkey rewrites it so it sounds like you, and keeps your facts.