Developer tools that don't phone home.
Formatting, encoding, hashing, decoding and testing — the utilities you reach for a dozen times a day. All of them run in the page, which is the only sane arrangement when the thing you are about to paste is a production token.
Nearly every tool here gets used on data that should not leave your machine. A JWT from a staging environment is a real credential. An API response pasted into a formatter routinely contains customer records. A config file run through a beautifier may hold connection strings. The fact that these run locally is not a privacy nicety — it is what makes them safe to use on the data you actually have.
Which developer tool do you need?
Grouped by what you are holding. The third column notes the thing most likely to catch you out.
| If you want to… | Use | Worth knowing |
|---|---|---|
| Make an API response readable, or validate it | JSON Formatter | Reports the position of a syntax error. Trailing commas and single quotes are the two most common causes. |
| Read a SOAP envelope, an RSS feed or any XML | XML Formatter | Formats as you paste and copies the result. CDATA, comments and mixed content survive untouched. |
| Strip whitespace from JSON before shipping it | JSON Minifier | Typically 15–30% smaller on a large payload, and semantically identical — whitespace carries no meaning in JSON. |
| Encode binary or text as Base64 | Base64 Encoder | Output is about 33% larger than the input. Base64 is a transport encoding, not compression and not security. |
| Decode a Base64 string | Base64 Decoder | Handles both standard and URL-safe alphabets. A string using '-' and '_' instead of '+' and '/' is the URL-safe variant. |
| Escape text for a query string or URL path | URL Encoder / Decoder | Path and query components have different rules — notably '+' means a space in a query string but is literal in a path. |
| Escape HTML so it displays rather than executes | HTML Entity Converter | Encoding on output is the correct defence against injection. Filtering input is not a substitute. |
| Build and check a regular expression | Regex Tester | Shows matches and capture groups live, which is far faster than deploying and guessing. |
| Produce an MD5, SHA-1 or SHA-256 digest | Hash Generator | Hashing is one-way. MD5 and SHA-1 are fine as checksums and broken for anything security-related. |
| See what is inside a JSON Web Token | JWT Decoder | Decodes the claims. It does not verify the signature, and a JWT is readable by anyone holding it. |
| Convert between binary, octal, decimal and hex | Number Base Converter | Useful for permissions, colour values, bitmasks and reading hex dumps. |
| Format minified CSS so you can read it | CSS Beautifier | Comments and original variable names are gone for good — minification discarded them. |
| Compress CSS for production | CSS Minifier | Reports the compression percentage so you can see whether it was worth it. |
| Format minified or ugly JavaScript | JS Beautifier | Restores structure, not names. Minifiers rename local variables to single letters and that is irreversible. |
All 14 developer tools
Each has its own page covering the format's rules and the failure cases worth knowing.
Encoding, encryption and hashing are three different things
These get conflated constantly, and the confusion causes real security bugs. The distinction is about who can reverse the operation.
Encoding changes a representation so data survives a channel that would otherwise mangle it. Base64 lets binary pass through text-only transports; URL encoding lets arbitrary characters sit in a URL; HTML entities let a literal < appear on a page without starting a tag. Encoding is public and fully reversible by anyone — there is no key. It provides zero confidentiality. Base64 is not obfuscation worth the name; anyone who sees it recognises it instantly.
Encryption makes data unreadable without a key, and reversible with one. None of the tools here encrypt anything.
Hashing is one-way by construction. A SHA-256 digest is a fixed-length fingerprint, and there is no operation that recovers the input from it. This is why hashes suit password storage and integrity checking, and why a "hash decoder" is either a lookup table of previously-seen inputs or a lie.
The practical rule: if you need secrecy, you need encryption. If you need to prove nothing changed, you need a hash. If you just need data to survive a pipe, you need encoding.
What a JWT actually protects
A JSON Web Token is three Base64url segments separated by dots: a header, a payload of claims, and a signature. The first two are encoded, not encrypted. Anyone holding the token can read every claim in it, and the decoder does exactly that without needing a key.
The consequence is the single most common JWT mistake: putting data in the payload that the bearer should not see. A token is not a safe place for anything confidential. Treat the claims as public to whoever holds the token.
What the signature provides is integrity. It proves the token was issued by something holding the signing key and has not been altered since. Change one character of the payload and the signature stops matching. But verifying that requires the key, which is why verification belongs on your server and not in a web page — a tool that claims to verify a signature in the browser is asking for your signing secret.
Two things worth checking when debugging: the exp claim, since an expired token fails in ways that look like a permissions problem, and the alg header — a token arriving with alg: none is a known attack and should be rejected outright.
Choosing a hash, and when the broken ones are fine
"MD5 is broken" is true and frequently misapplied. What is broken is collision resistance: an attacker can construct two different inputs with the same MD5 digest. That matters enormously for signatures and certificates, and not at all for detecting whether a file got corrupted in transit.
Roughly:
- MD5 — fine as a checksum against accidental corruption, as a cache key, or as a deduplication fingerprint for non-adversarial data. Never for signatures, certificates or passwords.
- SHA-1 — also collision-broken in practice. Still seen in legacy systems and in Git, which is why it is here. Do not choose it for anything new.
- SHA-256 — the sensible default. Use it for integrity verification and anywhere a general-purpose cryptographic hash is called for.
Passwords are a separate case and none of these are correct for them. A fast hash is a liability for password storage precisely because speed helps the attacker — a GPU tries billions of SHA-256 guesses per second. Password storage needs a deliberately slow, salted function: bcrypt, scrypt or Argon2. A salted SHA-256 is still a poor choice, because it is still fast.
What minification throws away permanently
Beautifying minified code restores structure. It does not restore information that was deleted, and the difference disappoints people regularly.
Comments are gone. They were removed from the file, not stored elsewhere. No tool can bring them back.
Local names are gone. A JavaScript minifier renames local variables and parameters to single letters because it can prove nothing outside the scope refers to them. Beautifying gives you readable structure full of variables called a, b and n. A source map, if one was published, is the only route back to the original names.
Preprocessor sources are gone. Sass and Less variables, mixins and nesting are resolved at build time. The CSS that ships has no memory of them, so beautifying cannot reconstruct the .scss file.
What you do get back is genuinely useful: brace structure, indentation, one statement per line, visible media queries. Enough to understand what a third-party script is doing or to audit what a framework actually ships. Just not enough to call it source.
The JSON errors that account for most parse failures
JSON is deliberately stricter than the JavaScript object literals it resembles, and nearly every parse error traces to one of four habits carried over from JavaScript:
- A trailing comma.
{"a": 1,}is legal JavaScript and invalid JSON. This is the most common error by a wide margin. - Single quotes. JSON requires double quotes for keys and for string values.
{'a': 1}is not JSON. - Unquoted keys.
{a: 1}is a JavaScript object literal. JSON keys are always quoted strings. - Comments. JSON has none. Both
//and/* */cause a parse failure, which is why config formats that want comments use JSON5, JSONC or YAML instead.
Two further points that surprise people: JSON has no date type, so dates are strings by convention and usually ISO 8601; and NaN and Infinity are not valid JSON numbers despite being valid JavaScript ones. The formatter reports the position of the first failure, which is almost always enough to find it.
Frequently asked questions
Is it safe to paste a production token or API response here?
The data is processed in your browser and never transmitted, so nothing reaches a server of ours. That said, if a token has been pasted into any web tool you did not write, rotating it afterwards is cheap insurance and good practice generally.
Can the JWT decoder tell me whether a token is valid?
It decodes the header and claims, which lets you check expiry and content. It cannot verify the signature, because that requires the signing key — and a web page should never be asking you for one.
Is Base64 a way to hide data?
No. It is a public, reversible encoding with no key. Anyone can decode it instantly and it is immediately recognisable on sight. If you need confidentiality, you need encryption.
Can I recover the original text from a hash?
No. Hashing is one-way by design. Services that appear to reverse a hash are looking the digest up in a table of previously computed common inputs, which only works for weak or common values.
Will beautifying restore my variable names or comments?
No. Minification deletes comments and renames local variables; neither is stored in the output. Beautifying restores formatting and structure only.
Does minifying JSON change what it means?
No. Whitespace between tokens is insignificant in JSON, so the minified and formatted forms are identical to any parser. The choice is purely about whether a human or a network is reading it.
Which regex flavour does the tester use?
JavaScript's, since it runs in your browser. It is close to PCRE for everyday patterns, but lookbehind support and some Unicode property escapes differ from Python or PHP.