Encoding Toolkit
Base64, URL, HTML, hex, and ASCII encoding and decoding, plus query string and full URL parsing, building, inspection, Unicode analysis, and string-literal escaping — sixteen tools for the encodings that show up constantly in web development. All run entirely in your browser.
How these fit together
Base64
Base64 Encode and Base64 Decode turn binary data into ASCII text and back — the format behind data URIs, JWT segments, and Basic Auth headers.
URL & query strings
URL Encode and URL Decode percent-encode characters that aren't safe in a URL — spaces, &, ?, and similar — so a value can safely become a query parameter. Once you're past single values, Query String Parser takes a whole URL and breaks its query string into individual, already-decoded parameters — repeated keys grouped as arrays — or exports the lot as JSON. When the query string is only part of what you need, URL Parser breaks the whole URL down — protocol, credentials, host, port, path, and fragment — and URL Builder assembles one back from those same pieces. For just the ?key=value part on its own, Query Parameter Builder builds it from rows or a JSON object. And URL Inspector combines all of the above with an encoding audit and findings for things like embedded credentials, punycode hosts, and open-redirect-shaped parameters.
HTML
HTML Encode and HTML Decode escape the characters that would otherwise be parsed as markup, which matters most for safely displaying user-supplied text inside HTML.
Bytes & characters
Hex Encode and Hex Decode handle the byte-level representation used for binary debugging, color codes, and network protocols — in plain hex or in the exact escape syntax JavaScript, JSON, HTML/XML, or SQL each expect. ASCII Converter does the same in decimal and binary for the original 7-bit set, with the 33 control character names (NUL, ESC, DEL, and the rest) looked up for you. For the character itself rather than its bytes, Unicode Converter breaks text down by code point — category, script, plane — and normalizes it to compare characters that look identical but aren't stored the same way.
String literal escaping
When you just need to drop text into a JSON, JavaScript, or SQL string literal safely, Text Escape escapes only the characters that need it — quotes, backslashes, control characters — leaving the rest readable, unlike Hex Encode's full per-character conversion. For a regex pattern specifically, which is a different set of special characters entirely, the Regex Toolkit's Regex Escape handles that instead.
Base64 Encode
Encode text to Base64, with optional URL-safe output.
Base64 Decode
Decode Base64 (standard or URL-safe) back to readable text.
URL Encode
Percent-encode text or URLs, with component or full-URI mode.
URL Decode
Decode percent-encoded URLs and query strings back to readable text.
HTML Encode
Escape HTML entities (& < > " ') to safely embed text in markup.
HTML Decode
Decode HTML entities — named, decimal, and hex — back to plain text.
Query String Parser
Break a URL's query string into individual parameters, or export as JSON.
URL Parser
Break a URL down into protocol, host, port, path, query, and fragment.
URL Builder
Visually build a URL from protocol, host, path, query params, and fragment.
Query Parameter Builder
Build a query string from key/value rows or a JSON object.
URL Inspector
Parse a URL, audit its encoding, and surface phishing and redirect red flags.
Hex Encode
Encode text to hex, in plain, JavaScript, JSON, HTML/XML, or SQL syntax.
Hex Decode
Decode hex back to text — plain, JavaScript, JSON, HTML/XML, or SQL.
Unicode Converter
Inspect each character's code point, category, script, and plane, or build text from U+XXXX code points.
ASCII Converter
Convert text to decimal or binary ASCII codes, with control character names, or build text back from either.
Text Escape
Escape or unescape text for JSON, JavaScript, or SQL string literals.
Guides
Learn more
- What Is Base64 Encoding?
- URL Encoding Explained
- What Characters Need URL Encoding?
- How Query Parameters Work
- URL Encoding Examples
- How to URL Encode JSON
- URL Encoding in React
- URL Encoding in Node.js
- URL Encoding in Python
- URL Encoding in Java
- Base64 vs URL Encoding
- Common Encoding Problems in APIs
- String Escaping Explained
- Why HTML Escaping Prevents XSS
- Encoding vs Encryption vs Hashing