URL Encoder / Decoder
Encode text into URL-safe percent encoding, or decode percent-encoded strings back into readable text.
Input text
Output URL encoding
Using This Tool: Guide & Notes Show guide
URL encoding rewrites reserved, unsafe, or ambiguous characters as percent-coded byte values so text can travel safely inside links and query strings.
How to use it
- Choose Encode to turn ordinary text into URL-safe percent encoding, or Decode to turn percent escapes back into readable text.
- Use URL component mode for search terms, query values, form values, and pasted text.
- Use Full URL mode only when the input is already a complete URL and you want to keep URL structure characters readable.
- Use Load example to compare the handling of spaces, ampersands, question marks, equals signs, and non-ASCII characters.
Options and settings
- Encode spaces as + uses form/query-string style spacing instead of %20, and is available only in component mode.
- Decode + as space treats plus signs as spaces when decoding form-style query text.
- Uppercase percent escapes normalises values such as %3f to %3F.
- Trim leading/trailing whitespace removes accidental outer spaces before processing.
Notes
- URL encoding is not encryption. Anyone can decode it.
- If decoding fails, check for a bare % sign, incomplete escapes such as %2, or malformed UTF-8 byte sequences.
Related Article
URL Encoding: How the Web Makes Text Safe for Links
Why spaces become %20, why & turns into %26, and how percent encoding lets ordinary text survive inside web addresses without breaking URL structure.