Free URL Encoder & Decoder
Encode or decode percent-encoded URLs · with separate modes for full URLs and individual query components.
100% client-side · nothing you enter is ever sent to a server or stored.
Preview · sign in with a free account to run it
Component mode encodes every reserved character (use it for query values) · Full URL mode leaves URL structure like "/", "?", and "&" intact.
How to use it
- Choose Encode or Decode.
- Choose the scope: Component (encodeURIComponent) for a single query value or path segment, or Full URL (encodeURI) for a whole address.
- Type or paste the text, then copy the result.
Example
Input
café & tea? (Component mode)
Result
caf%C3%A9%20%26%20tea%3F
Which mode to use
- Component
- Encodes everything that has a meaning in a URL, including & = ? / and #. Use it for one value you're putting inside a URL.
- Full URL
- Leaves : / ? & = and # alone so the address keeps working, and encodes spaces and non-ASCII characters only.
- UTF-8
- Non-ASCII characters become their UTF-8 bytes: é is %C3%A9.
- Not a valid percent-encoded string
- A % isn't followed by two hex digits. Find the broken sequence or encode the raw text instead.
- + versus %20
- HTML forms encode spaces in query strings as +. Everywhere else a space is %20. This tool produces %20.
Go deeper
Page updated
Frequently asked questions
What's the difference between the two encode modes?
Component mode (encodeURIComponent) encodes everything including / ? & = · use it for individual parameter values. Full-URL mode (encodeURI) preserves URL structure characters · use it to clean a whole URL without breaking it.
Why do I see %20 in some URLs and + in others?
Both mean a space. %20 is standard percent-encoding used in paths; + is the older application/x-www-form-urlencoded convention used in query strings by HTML forms. Decoders here handle both.
Why does my redirect URL break when I pass it as a parameter?
The inner URL's & and ? are read as part of the outer URL. Encode the inner URL in Component mode first.
Want the full picture?
This tool covers one narrow check. A full SimplyScan runs 60 checks across 14 categories · exposed keys, RLS, XSS, auth, and speed · in 30 seconds.
Run a full security scanRelated tools
HTML Entity Encoder
Escape special characters to HTML entities · or decode &-style entities back to readable text.
Timestamp Converter
Convert Unix epoch timestamps to readable dates and back · seconds and milliseconds auto-detected, UTC and local shown together.
Case Converter
Paste any identifier or phrase and get every casing variant at once · camelCase, snake_case, kebab-case, PascalCase, CONSTANT_CASE and more.