Skip to main content

URL Encoder / Decoder

Percent-encode and decode URLs, paths and query values.

Runs in your browser

The converted URL will appear here.

About the URL Encoder / Decoder

URLs allow only a limited set of characters, so spaces, ampersands, accents and non-Latin scripts must be percent-encoded. This tool encodes and decodes those values, with a choice between encoding a full URL and encoding a single component.

That distinction matters. Encoding a whole URL preserves the separators such as slashes and question marks, while component encoding escapes them, which is what you need for a query parameter value.

How to use the URL Encoder / Decoder

  1. 1Choose Encode or Decode.
  2. 2Pick full URL mode or component mode.
  3. 3Paste your value and read the converted result.
  4. 4Copy the output for use in your link or code.

Features

  • Full-URL and component encoding modes
  • Decoding with clear errors for malformed sequences
  • Unicode handled correctly in both directions
  • Swap and copy controls
  • Length shown for both sides

Why people use it

  • Build links with parameters that do not break.
  • Read an encoded redirect target that a service returned.
  • Debug tracking parameters in a long campaign URL.

Common use cases

  • Encoding a search phrase for a query string.
  • Decoding a redirect URL nested inside another URL.
  • Preparing a non-Latin path segment for a link.

Privacy and your data

All encoding happens in the page; your links are never sent anywhere.

Frequently asked questions