Rahul's Website

Tech, coding, security and other random stuff...

Decoding Percent-Encoded Data from CMD

Jul 302017

A couple of months ago I needed to decode percent-encoded POST form data in a batch file. I could find no existing scripts or utilities to do so, so I wrote my own.

You can find the Github repository here: https://github.com/rahuldottech/percent-decoder

It is written in pure Windows Batch, and performs surprisingly well. 

Like all my other code, it is licensed under the MIT license.

Usage:

percentdecoder.cmd <encoded-string-goes-here>

(it works even if you rename the file)

Enjoy!

If you find a bug, open an Issue on Github, leave a comment bellow or send me an email at <code@mydomain>.

There are no published comments.

New comment