URL Encoder & Decoder

Encode strings safe for URLs or decode percent-encoded URLs back to readable text. Runs locally, supports full Unicode.

  • Runs in browser
  • No signup
  • No tracking
Share

How to use URL Encoder & Decoder

  1. Pick Encode or Decode.

  2. Paste your input on the left.

  3. Result updates live on the right.

  4. Click Copy to grab the output.

When to use it

  • Building safe query strings from user input.

  • Decoding webhook payloads with percent-encoded fields.

  • Inspecting OAuth redirect URLs.

  • Converting search engine result URLs back to readable text.

What it fixes

  • Spaces breaking URLs because they weren't encoded.

  • Double-encoded strings nobody can read.

  • Special characters silently dropped by sloppy clients.

About URL Encoder & Decoder

URLs can only carry ASCII, so any non-ASCII or reserved characters need percent-encoding. This tool wraps the browser's native encodeURIComponent / decodeURIComponent — the same functions used by every modern web app.

Use Encode when building query strings or path segments. Use Decode to read the actual content of a webhook payload, query string, or copied URL.

References: MDN — encodeURIComponent · RFC 3986 — URI Generic Syntax

Frequently asked

  • Does it use encodeURI or encodeURIComponent?

    encodeURIComponent — it escapes every reserved character so the result is safe inside a URL component (path segment or query value).

  • Why does my input fail to decode?

    Malformed sequences like a stray % followed by non-hex chars throw. Strip stray % or fix the broken pair.

  • Is my input sent anywhere?

    No. Encoding/decoding runs entirely in your browser using built-in JS APIs.

Discussion

All tools