DevTools Hub

Search tools

Search for a developer tool

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.

Guides

Learn more