URL Encoder & Decoder
Encode text into a URL-safe percent-encoded format, or decode it back to plain text — instantly, entirely in your browser.
Output will appear here
Frequently Asked Questions
What is URL/percent-encoding?
URL encoding converts characters that aren't allowed in a URL (spaces, &, ?, non-ASCII characters) into a percent sign followed by two hex digits, so the URL remains valid and unambiguous.
When do I need to encode a URL?
Whenever a value (like a search query or a parameter containing spaces/special characters) is inserted into a URL's query string — encoding it prevents it from breaking the URL structure.
Why does decoding sometimes fail?
It fails if the input isn't validly percent-encoded — for example, a stray % not followed by two valid hex digits. Make sure you're pasting fully encoded text.
Related free utility tools
- JWT DecoderPaste a JWT to instantly decode its header and payload — decoded entirely in your browser.
- JSON Formatter & ValidatorFormat, validate, and beautify messy JSON instantly, with clear syntax error messages.
- Regex TesterTest regular expressions against sample text with live match highlighting, flags, and capture groups.
- Unix Timestamp ConverterConvert Unix timestamps to human-readable dates and back, with live current epoch time.
- Color ConverterConvert colors between HEX, RGB, and HSL instantly, with a live preview swatch.
- Word CounterCount words, characters, sentences, and paragraphs instantly, with estimated reading time.
Explore CodeSpeedTest