JSON Formatter
Pretty-print JSON, minify it, or check that it parses in the page. Comments, trailing commas, and single quotes fail. It does not turn the result into CSV.
Encode or decode URL components in your browser with encodeURIComponent.
A URL encoder applies encodeURIComponent or decodeURIComponent to a string you paste.
This tool runs in your browser. Inputs, files and generated values stay on this device. Favorites and recently used tools, if you use them, store only tool names in local storage — never passwords, documents or QR contents. See the privacy policy.
Percent-encode a string with encodeURIComponent, or decode a percent-encoded string. Developers putting a query value into a URL use it when spaces, ampersands, or slashes must be escaped. The result is not encrypted, and a half-finished sequence such as %E0 fails on decode.
“a b&c” encodes to a%20b%26c.
Accented letters and other scripts encode to UTF-8 percent sequences and decode back to the original text.
URL encoding (percent-encoding) represents characters that are not safe in a URL component. It is not encryption: anyone can decode the result. This tool uses the browser’s encodeURIComponent and decodeURIComponent, which encode more characters than encodeURI (including ?, &, and /).
encodeURIComponent is the encoder, so ?, &, and / are escaped. That is stricter than encodeURI. The output is not a secret. On the way back, a half-finished sequence such as %E0 is rejected.
See the disclaimer for what these tools do not cover.
Pretty-print JSON, minify it, or check that it parses in the page. Comments, trailing commas, and single quotes fail. It does not turn the result into CSV.
Encode text to Base64 or decode it back, using UTF-8. Anyone can decode the result, so it is not a way to hide a password. A file drop is not accepted.
Turn a title into a lowercase, hyphenated permalink. Latin accents are removed, while letters such as 你好 stay. It does not check that the address is unused.
Generate one or many UUID v4 values in your browser using a secure random source.
Convert Unix timestamps to dates and dates back to timestamps, in seconds or milliseconds.
Convert 3-digit, 6-digit and 8-digit hex colors to RGB, RGBA and HSL in your browser.
Guide
Encode a URL component with encodeURIComponent, or decode a percent-encoded string back to text.
Read guideGuide
Encode text to Base64 after UTF-8, or decode it back. The result is not encryption.
Read guideGuide
How to read a URL's protocol, host, path, and query without encoding or tagging it.
Read guideURL encoding is not encryption. It only makes text safe to put in a URL component. Encoding and decoding run in your browser.