DevTools Hub

Search tools

Search for a developer tool

Encoding Toolkit

Base64, URL, and HTML encoding and decoding, plus query string and full URL parsing — eight tools for the encodings that show up constantly in web development. All run entirely in your browser.

How these fit together

Three encodings, each solving a different problem, each with its own encode/decode pair. 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 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. 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. 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. And when the query string is only part of what you need to inspect, URL Parser breaks the whole URL down — protocol, credentials, host, port, path, and fragment alongside the query.

Learn more