126+ free tools that run in your browser — no uploads, no sign-up

URL Encoder / Decoder

Percent-encode or decode URLs and query values.

URLs can only contain a limited set of characters, so spaces, symbols and non-English letters are replaced with percent codes such as %20.

About URL Encoder / Decoder

Encode text for safe use in URLs and query strings, or decode percent-encoded text back to readable form. Choose between encoding a single component (encodeURIComponent) or a whole URL (encodeURI). Handles spaces, symbols and non-English characters. Free and private.

URLs can only contain a limited set of characters, so spaces, symbols and non-English letters are replaced with percent codes such as %20. This tool encodes text so it is safe to place in a URL or query string, and decodes percent-encoded text back into something readable.

How to use URL Encoder / Decoder

  1. Choose Encode or Decode.
  2. Paste your text or URL.
  3. Pick component encoding for a single value or whole-URL encoding for a full link.
  4. Copy or download the result.

Key features

  • Component (encodeURIComponent) and whole-URL (encodeURI) modes.
  • Handles spaces, symbols and Unicode.
  • Clear error message for invalid percent-encoding.
  • Private — nothing is sent anywhere.

Common use cases

  • Building query strings and redirect URLs.
  • Reading encoded links from logs and emails.
  • Debugging API requests that contain special characters.

Frequently asked questions

Related tools

More Developer tools