URL Encode & Decode
Convert special characters to %XX form for safe use in URLs, or turn encoded strings back into readable text.
Runs in your browser. Your files are never uploaded.
Loading URL Encode & Decode…
How to use URL Encode & Decode
- Choose Encode or Decode.
- Paste your text or URL.
- Tick “full URL” if you want to keep characters like : / ? & =.
- Copy the result.
Why URLs need encoding
A URL is a strict format. Characters such as space, #, ?, & and = have special jobs, and many characters are not allowed at all. If a search term like “fish & chips” goes into a link unencoded, the & is read as the start of a new parameter and the link breaks. Encoding turns the dangerous characters into safe %XX sequences.
Frequently encoded characters
- Space → %20
- & → %26
- = → %3D
- ? → %3F
- # → %23
- / → %2F
- é → %C3%A9 (two UTF-8 bytes)
Common mistakes
Encoding an already-encoded string turns %20 into %2520 (double encoding). Decode once to check what you have. Also avoid encoding a complete URL in component mode: the colons and slashes would be escaped and the link would stop working. Use full-URL mode for that.
Why use this url encode & decode tool
- Two modes. Component mode for values, full-URL mode for whole addresses.
- Unicode support. Non-English characters are encoded as UTF-8 bytes.
- Error detection. Warns about broken % sequences.
Frequently asked questions
What is URL encoding?
URLs may only contain a limited set of characters. Everything else, such as spaces or accents, is replaced by a percent sign and two hex digits, so a space becomes %20.
Component or full URL?
Use component mode (encodeURIComponent) for a single value such as a search term. Use full-URL mode (encodeURI) for a whole address where slashes and question marks must stay intact.
Why does a space sometimes become +?
HTML form submissions encode spaces as +. Percent-encoding uses %20. Both are valid in query strings, but + is not valid in the path.
More free tools
PX to REM Converter
Convert pixels to rem and em, and back, with a custom root font size. Includes a table of common sizes from 8px to 64px and a copy-ready CSS declaration.
Open toolBase64 Encode & Decode
Encode text to Base64 or decode Base64 back to text. Supports UTF-8 and URL-safe Base64. Free, instant and runs in your browser.
Open toolUUID Generator
Generate random version 4 UUIDs (GUIDs) in bulk. Copy one or hundreds, in uppercase or without hyphens. Uses your browser’s secure random generator.
Open tool