Developer Tools

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.


Which encoding do I need?

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.

EncodingUse it whenExample
URL (percent) encodingPutting text into a URL path or query stringa b&c → a%20b%26c
HTML entitiesShowing text literally inside an HTML page, so it is not parsed as markup<b> → &lt;b&gt;
Base64Carrying binary or arbitrary text through text-only channels: data URIs, HTTP Basic auth headers, email attachments, JWT segments (as Base64url)hello → aGVsbG8=
PunycodeUsing a domain name with non-ASCII characters in DNSmünchen.de → xn--mnchen-3ya.de

Formatting and minifying

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.

Need a checksum?

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.