Skip to content

Developer tool

URL Encoder & Decoder

Percent-encode or decode URLs and query strings in one click.

Runs in your browser. Nothing is uploaded.

About the URL Encode & Decode

URLs can only contain a limited set of characters. Spaces, ampersands, non-English letters and symbols must be percent-encoded (a space becomes %20) before they can safely travel in a link or query string.

Use component mode to encode a single value, such as a search term you are placing after ?q=. Use full-URL mode to encode a complete address while keeping its structure (: / ? # &) intact.

How to use it

  1. Pick a mode: component, full URL, or decode.
  2. Paste your text or URL.
  3. Copy the converted result.

Frequently asked questions

What is the difference between component and full-URL encoding?

Component encoding (encodeURIComponent) escapes everything including / ? & =, which suits a single parameter value. Full-URL encoding (encodeURI) leaves those structural characters alone.

Why does a space become %20 or +?

%20 is standard percent-encoding. The + form is only used for spaces in application/x-www-form-urlencoded data such as HTML form submissions.

Why do I get a 'malformed' error when decoding?

A % sign must be followed by two hexadecimal digits. A stray % in the input breaks decoding.

<let's talk/>

Want this built into your own software?

We build custom tools, calculators and automation around your business process. Tell us what you need.