URL Encoder & Decoder
Encode text for use in URLs or decode percent-escaped strings back to readable text. Choose component, full-URL or form encoding, unwrap double-encoded strings, and break a URL into its parts with every query parameter decoded.
Everything runs locally in your browser. Your data never leaves your device.
Escapes every reserved character. Use for one value, like a query parameter or a single path segment.
URL breakdown
Paste a full URL above, like https://example.com/path?key=value, to see it split into protocol, host, port, path, query parameters and fragment.
Which characters get encoded
Unreserved, always safe
A-Za-z0-9-_.~These never need escaping and every mode leaves them alone.
Reserved, they shape the URL
:/?#[]@!$&'()*+,;=These give a URL its structure. Component and form mode escape them so they can sit inside a value without changing what the URL means. Full URL mode keeps them, which is why it is the right choice for encoding a complete address.
Everything else, including spaces, quotes and non-ASCII text, is written as one or more %XX escapes of its UTF-8 bytes in every mode.
Next steps
Send this tool's output straight into another tool.
Convert text into every case at once: title case in the APA, AP, Chicago, MLA, Bluebook, AMA and NYT styles, sentence case, upper, lower, camelCase, snake_case, kebab-case and more.
Count words, characters, sentences, paragraphs, lines and more as you type, with estimated reading and speaking time.
Remove duplicate lines from a list or text, keeping the first occurrence. Optionally ignore case and whitespace, or drop blank lines too.
Replace text in two modes: plain find and replace all, or regular expressions with flag controls and capture group references like $1.
Paste a UUID to see what it carries: version, variant, and for time-based versions the exact timestamp, clock sequence and node. Also shows the raw bytes, the 128-bit integer and the URN form.
Decode Base64 to text or encode text to Base64. Paste into the top box, read the result below, and flip the direction with one click. Handles Unicode correctly, reads URL-safe Base64, and shows binary payloads as a hex dump you can download.
Convert numbers between binary, octal, decimal, hexadecimal and any base up to 36. Type into any field and the others update as you go. Handles huge integers without losing precision and accepts 0x, 0b and 0o prefixes.
Convert between scientific notation and full numbers as you type. Reads 1.23e5, 1.23 × 10^5 and plain numbers, shows the value written out, in normalized scientific notation and in engineering notation, and can round to any number of significant digits.