0 B UPLOADED · ALL PROCESSING RUNS LOCALLY IN THIS TAB 12 TOOLS ONLINE

Encode

URL Encoder / Decoder

Percent-encode a string for safe use in a URL, or decode an already-encoded one back to plain text.

Plain text
Encoded

Walkthrough

How to use it

  1. Choose Encode or Decode with the mode buttons.
  2. Type or paste your text into the left pane.
  3. The right pane updates live using JavaScript's encodeURIComponent / decodeURIComponent.
  4. Click Copy to grab the result.

Use cases

When you'd use this

Building a query string by hand. Encode a value containing spaces, ampersands, or special characters before appending it to a URL so it doesn't break the parsing.

Debugging a broken link. Decode a URL full of %20 and %3D sequences to read what it actually says.

Passing a redirect URL as a parameter. Encode a full URL so it can safely travel inside another URL's query string.

FAQ

Common questions

What's the difference between this and encodeURI?

This tool uses encodeURIComponent, which escapes more characters (including & and =) — the right choice for encoding a single query parameter value rather than a whole URL.

Why did some characters not change?

Unreserved characters (letters, digits, - _ . ~) are left as-is per the URL spec since they're already safe.

Is my input sent anywhere?

No, encoding and decoding run locally using built-in browser functions.

Related

Related tools