URL Encode / Decode
Percent-encode text for safe use in URLs, or decode an encoded string.
Converters & Dev
TEXT ⇄ URL
Loading tool…
Files are processed in your browser. Nothing is uploaded to a server.
URLs can only contain a limited set of characters, so spaces, accents and symbols must be percent-encoded (a space becomes %20). This tool encodes text for safe placement in a URL or query string, and decodes encoded strings back into readable text.
How to encode or decode a URL
- Paste your text or encoded string.
- Choose Encode or Decode.
- Pick component or full-URL encoding if you need finer control.
- Copy the result into your link or code.
Common encodings
| Character | Encoded as |
|---|---|
| space | %20 |
| & | %26 |
| ? | %3F |
| # | %23 |
| é | %C3%A9 |
Encoder features
- Component encoding for query values and full-URI encoding for whole links.
- Round-trips Unicode characters correctly.
- Instant two-way conversion.
- Everything runs in your browser.
Frequently asked questions
What is the difference between component and full encoding?
Component encoding escapes reserved characters like & and ? (use it for one query value); full-URI encoding leaves those intact so a complete URL still works.
Why do spaces sometimes become +?
In form submissions, spaces are encoded as +. In path/query encoding they become %20. This tool uses %20 by default.
Is encoding the same as encryption?
No. Encoding only makes text URL-safe; it provides no security.