Skip to content

Developer Tools

URL Encoder & Decoder

Percent-encode URLs and break query strings into a readable table.

url encoderRuns in your browserUpdated 2026-09-22
Operation

Input

0 chars

Result

no output
Result appears here.

About URL Encoder / Decoder

URLs are a transport format with strict rules about which characters are safe. Spaces, ampersands, slashes and non-ASCII characters must be percent-encoded when they appear inside a value, and incorrect encoding is a frequent cause of broken redirects and truncated parameters.

Alongside encoding and decoding, this page parses a query string into a table of keys and values. That makes it obvious when a parameter is duplicated, empty, or double-encoded, which is hard to spot in a long URL.

How it works

  • Full URL encoding uses encodeURIComponent, which escapes every character that is not URL-safe.
  • Path encoding uses encodeURI, which keeps structural characters such as / and ? intact.
  • Decoding reverses the encoding and reports malformed percent sequences instead of failing silently.
  • Query parameters are split on & and = and displayed as an editable table.
  • Repeated keys are kept in order so you can see how the server will interpret them.

Input and output

Accepts

A URL, a query string, or a single value that needs escaping.

Produces

The encoded or decoded string, plus a parsed table of query parameters.

Privacy

Encoding, decoding and parsing are done locally. URLs, which often contain tokens, are not sent anywhere.

URL Encoder / Decoder FAQ

What is the difference between encodeURI and encodeURIComponent?

encodeURIComponent escapes everything that is not strictly a URL-safe character and is meant for a single value. encodeURI leaves structural characters such as / ? # untouched and is meant for a complete URL.

What does double encoding look like?

A percent sign becomes %25, so an already encoded space (%20) turns into %2520. If a decoded value still contains percent escapes, it was probably encoded twice.

Are plus signs spaces in a query string?

In form-encoded bodies and many query parsers, yes: + means space. Elsewhere in a URL, + is a literal plus and a space must be written as %20.

Does this tool follow redirects?

No. It has no network access at all, so it only transforms the text you paste.