Formatters, encoders and converters for everyday web work. Every tool on this page runs entirely in your browser: the text you paste is not sent to PagesTest.
These encodings are often confused. Each one exists to get text safely through a particular context, and none of them is encryption: anyone can reverse them.
| Encoding | Use it when | Example |
|---|---|---|
| URL (percent) encoding | Putting text into a URL path or query string | a b&c → a%20b%26c |
| HTML entities | Showing text literally inside an HTML page, so it is not parsed as markup | <b> → <b> |
| Base64 | Carrying binary or arbitrary text through text-only channels: data URIs, HTTP Basic auth headers, email attachments, JWT segments (as Base64url) | hello → aGVsbG8= |
| Punycode | Using a domain name with non-ASCII characters in DNS | münchen.de → xn--mnchen-3ya.de |
Minified code is smaller and faster to download but hard to read; formatted code is the reverse. Use the JSON Formatter to pretty-print or validate an API response, the beautifier to read a minified script or stylesheet, and the minifier to shrink files before you publish them. Most build tools minify automatically, so the online minifier is most useful for one-off snippets.
The Hash Generator creates MD5, SHA-1, SHA-256 and SHA-512 hashes of text, which is handy for comparing values or checking test fixtures. It is listed under security tools.