Encoding Tools

Encoding changes how data is written so it can travel safely through a system that would otherwise break it: a URL that cannot contain spaces, an HTML page that would treat < as a tag, an email header that only accepts ASCII, or a JSON field that cannot hold raw binary.

Each tool here comes as a pair, one to encode and one to decode, so you can go in either direction. A quick rule of thumb: use URL encoding for query strings, HTML entities for showing code on a page, Base64 for carrying binary data inside text, and Punycode for international domain names. Remember that encoding is not encryption; anyone can reverse it.

Guides for these tools