URL Encoder & Decoder
AvailablePercent-encode a value or a whole URL, or decode one, and find broken sequences.
Use the tool
Everything runs in your browser. Your text is not uploaded or stored.
About this tool
Percent-encode a piece of text so it is safe inside a URL, encode a whole URL while keeping its structure, or decode text that is full of %20 and similar codes.
How it works
- Encoding a value replaces every character that has a special meaning in a URL, such as space, &, = and /, with a % code.
- Encoding a whole URL keeps the characters that give it structure, such as : / ? & and =.
- Decoding turns the % codes back into characters, reads + as a space, and warns about broken sequences.
Common questions
When should I encode a value and when a whole URL?
Encode a value when you put it inside a query string or path. Encode a whole URL only when it contains spaces or non-English letters but is otherwise built correctly.
Why does decoding say a sequence is broken?
A % must be followed by two hex digits. Text such as 100% or %E0%A4%A breaks that rule and cannot be decoded safely.
Your text is processed in your browser and is never uploaded.
Related tools
JSON Formatter & Validator
AvailableFormat, minify, sort and check JSON, with the line and column of any error.
Developer Tools
Base64 Encoder & Decoder
AvailableEncode text to Base64 or decode it back, with standard and URL-safe alphabets and full Unicode support.
Developer Tools
UUID Generator
AvailableGenerate random version 4 UUIDs in bulk, in lowercase, uppercase or without hyphens.
Developer Tools
Unix Timestamp Converter
AvailableTurn a Unix timestamp into a readable date, or a date into a timestamp, in seconds and milliseconds.
Developer Tools