Why URLs need encoding
URLs can only contain a limited set of ASCII characters. Spaces, accents and characters with special meaning (such as &, ?, # and /) must be written as a % followed by two hex digits of each UTF-8 byte. A space becomes %20 and "ë" becomes %C3%AB.
Component vs whole URL
Use query value mode for one parameter value. It encodes &, =, / and ?, so they can't break the URL structure. Use whole URL mode to clean up a full address while keeping its ://, slashes and query separators. When decoding, a + is treated as a space, which is how HTML forms submit values.
Frequently asked questions
What is %20?
The percent-encoding of a space character.
Should I encode the whole URL or just the parameters?
Encode each parameter value separately, with query value mode.
How to use the URL Encoder & Decoder
- Paste the text, number or code.
- Choose encode/decode or the target format.
- Read the result instantly.
- Copy it into your code or terminal.
Why use this URL Encoder & Decoder
100% in your browser
Nothing you enter is uploaded or stored.
Instant results
Updates as you type, no waiting.
Mobile friendly
Works on phones, tablets and desktops.
Light & dark mode
Follows your mfaysal.com theme.
Free, no account
No sign-up, no limits, no watermark.
Explained
Formulas, tables and sources on the page.
URL Encoder & Decoder: chart and reference data
Source: RFC 3986
| Character | URL encoded | HTML entity |
|---|---|---|
| space | %20 (or + in forms) | (non-breaking) |
| & | %26 | & |
| < | %3C | < |
| > | %3E | > |
| " | %22 | " |
| ' | %27 | ' |
| £ | %C2%A3 | £ |
URL Encoder & Decoder compared with the alternatives
| Option | Setup | Privacy | Speed |
|---|---|---|---|
| This tool | None | Local | Instant |
| Command line (base64, xxd) | Terminal | Local | Instant |
| Random online converter | None | May log input | Varies |
Who uses it in the UK
- Debugging APIs, URLs and HTML
- Embedded and electronics work
- Computer Science GCSE and A-level
- Inspecting data and encodings
More questions
Is it safe to paste API keys or tokens here?
The conversion runs entirely in your browser, so nothing is sent anywhere. Still, treat secrets carefully and never share decoded tokens in screenshots.
Is encoding the same as encryption?
No. Base64, URL and HTML encoding are reversible by anyone. They make data safe to transport or display, not secret.
Which standard does it follow?
Base64 follows RFC 4648, URL percent-encoding follows RFC 3986 and text is handled as UTF-8, matching modern browsers and servers.
Does it handle large inputs?
Yes, up to what your browser memory allows – typically several megabytes of text without problems.
✨ New: Remove the background from any image free – private, in your browser, transparent PNG.
Related free tools
Note: This free tool runs entirely in your browser. No data is sent or stored. Results are for information only.