Developer Tools toolsUpdated July 2026

Free URL Encoder / Decoder

Encode or decode URLs and query parameters instantly, directly in your browser.

Free online tool No signup Copy-ready result Browser-first privacy
AdvertisementTop tool sponsor space

Input

Output

AdvertisementBelow tool sponsor space

How to encode or decode a URL

  1. Choose Encode or Decode.
  2. Paste your text or URL.
  3. Copy the result.

encodeURI vs encodeURIComponent

Component encoding (encodeURIComponent) escapes every reserved character, making it correct for encoding a single query parameter value. Full-URL encoding (encodeURI) leaves URL-structural characters like / and : untouched, making it correct for encoding a complete URL.

Common use cases

  • Encode a query parameter before adding it to a URL
  • Decode a percent-encoded URL to read it clearly
  • Debug a broken link with unexpected encoded characters

Frequently asked questions

Is this tool free?

Yes. It is completely free, with no signup and no limits.

Is my text uploaded anywhere?

No. Encoding and decoding happen entirely in your browser using standard JavaScript functions.

Which option should I use for a query parameter?

Use component encoding (the default), which safely escapes every reserved character.

Why does decoding sometimes show an error?

This happens when the input contains an invalid or incomplete percent-encoded sequence, such as a stray % not followed by two hex digits.

Does this handle Unicode characters?

Yes. Non-ASCII characters are encoded and decoded correctly using UTF-8.