Developer

URL Encoder / Decoder

Encode or decode URL components with clear invalid-input errors.

Processed entirely in your browser. Nothing is uploaded.

Input

Output

Ready when you are.

About

About this tool

Web addresses can only contain a limited set of characters. Spaces, symbols, and non-English letters must be percent-encoded, which turns a space into %20, for example.

This tool encodes text so it is safe to place in a URL, and decodes percent-encoded text back to readable form. Invalid input shows a clear error. It works on URL parts such as query values, not whole addresses, and runs in your browser.

Quick guide

How to use

  1. Enter the text or encoded value in the input box.
  2. Choose Encode or Decode.
  3. Copy the result and use it in your link or query string.
Ideas

When to use it

  • Build a query string value that contains spaces or symbols
  • Read a long encoded link from an email or log
  • Fix a link that breaks because of special characters
  • Prepare a redirect URL to pass as a parameter
Common questions

Frequently asked questions

Should I encode a full URL?

This tool encodes text as a URL component, useful for query values and path segments.

Why does decoding fail?

Incomplete percent escapes such as %E0 are invalid URL encoding.