URL Encoder Decoder
Encode or decode text for safe use in URLs instantly. This URL encoder decoder helps you switch between readable text and percent-encoded strings without leaving the browser.
Whether you call it url encoder decoder or url decoder, this free tool handles it instantly in your browser.
Options
Example usage
Example input
hello world?name=alex
Example output
hello%20world%3Fname%3Dalex
Batch Processing
Enter multiple inputs, one per line. Each line will be processed separately.
Why this tool?
Everything runs right in your browser — no uploads, no sign-up, no waiting. Your text never leaves your device.
Quick tips
- •Outputs update live as you type.
- •Use the sticky copy button to grab results quickly.
- •Bookmark this page for fast access.
More like this
Discover related tools and step-by-step guides for this kind of task.
How it works
- Choose whether you want to encode plain text or decode URL-encoded text.
- Paste the source value into the input field.
- The result updates instantly using standard browser-safe encoding rules.
Use cases
Why URLs need encoding at all
URLs have a limited alphabet, defined back in RFC 3986. Some characters are reserved because they mean something structural — ? starts the query string, & separates parameters, # marks a fragment, / separates path segments. Others, like spaces, simply cannot appear at all. Percent-encoding solves both problems by replacing a character with % followed by its byte value in hex: a space becomes %20, ? becomes %3F, & becomes %26.
This is why an unencoded ampersand inside a parameter value silently breaks a link — the receiving server reads it as the start of a new parameter and your value is truncated at the &. Encoding the value first keeps it intact.
The + versus %20 confusion, and Unicode
You will see spaces encoded two ways. In the path of a URL, a space is %20. In a query string submitted by an HTML form, the older application/x-www-form-urlencoded convention encodes a space as +. Both are correct in their own context, which is why a value can arrive with literal plus signs where spaces belong if the wrong decoder was used.
Non-ASCII characters expand more than people expect, because each byte is encoded separately. The é in "café" is two UTF-8 bytes, so it becomes %C3%A9 — six characters for one letter. Emoji, at four bytes, become twelve. That is why a URL containing a short non-English phrase can look enormous, and why URL length limits bite sooner than you would guess. For clean, readable URLs without the encoding, our Slug Generator strips accents and punctuation instead.
Encoding
Explore all encoding and decoding tools
Browse every tool for this kind of task, along with helpful guides that show you how to get the most out of them.
Related tools
Supporting guides
Conversion History
Loading...
FAQ
What does the URL encoder do?
It converts spaces and reserved symbols into percent-encoded values so the text can be used safely inside URLs.
Can I decode percent-encoded text too?
Yes. Switch the mode to decode and the tool will convert URL-encoded input back into readable text.
What happens if the encoded input is invalid?
The tool returns a clear invalid-input message instead of guessing a broken result.

