Encoders & Escapers

URL Encoder / Decoder

Percent-encode text for safe use in URLs or decode encoded URLs back to readable text — and see any URL broken into its parts.

Loading URL Encode / Decode…

How it works

How to use the URL Encode / Decode

  1. Choose Encode or Decode

    Encoding makes text safe for URLs; decoding turns %XX sequences back into characters.

  2. Pick the encoding style

    Component for query values, full URL to keep the URL structure intact, or form encoding with + for spaces.

  3. Inspect the URL

    When the input is a URL, its protocol, host, path and decoded query parameters are listed below.

encodeURIComponent vs. encodeURI

encodeURIComponent escapes every reserved character, including / ? & = # — use it for individual query parameter values and path segments. encodeURI leaves those characters alone so a complete URL remains valid. HTML forms (application/x-www-form-urlencoded) encode spaces as +.

Built for developers

Why developers use it

  • Private by design

    Runs 100% in your browser. Nothing you paste is uploaded, logged or stored on a server.

  • Instant results

    Output updates as you type, with precise error locations when something is wrong.

  • Works offline

    Once loaded, the tool keeps working without a connection. Install it as an app if you like.

  • Free, no sign-up

    No accounts, no limits, no watermarks.

FAQ

Frequently asked questions

Why does + sometimes mean a space?

In form-encoded query strings, + represents a space. In other parts of a URL, a literal + is just a plus sign. Toggle "Treat + as space" accordingly.

What causes "Malformed percent-encoding"?

A % that is not followed by two hex digits, or a byte sequence that is not valid UTF-8. The error highlights where it happens.

Is my data uploaded anywhere?

No. This tool runs entirely in your browser. Your input never leaves your device, is not logged, and works offline once the page has loaded.

Keep going

Related tools

Private by design

Your data never leaves your browser.

498 free tools that run locally — no uploads, no sign-up, no tracking of what you paste. They even work offline.

  • 498free tools
  • 0bytes uploaded
  • 23categories