URL Encode / Decode — Free

Encode or decode URL components instantly. 100% in your browser — free, no sign-up.

How to

  1. 1Pick Encode or Decode.
  2. 2Type or paste your text — it is processed in your browser, never uploaded.
  3. 3Copy the result.

What is URL encoding?

URL encoding (percent-encoding) replaces characters that have special meaning or are unsafe in a web address — like spaces, &, ?, and non-ASCII characters — with a % followed by their code. This lets you safely put arbitrary text into a URL or query string without breaking it.

How it works here

Encoding and decoding use the browser's standard encodeURIComponent and decodeURIComponent, run entirely on your device. Nothing is uploaded, so you can encode tokens, parameters, or any text safely.

When to use it

Build a query-string parameter that contains spaces or symbols, decode a messy URL to read what it actually says, fix a link where special characters were mangled, or prepare a value for an API request.

Component vs full-URL encoding

This tool encodes a single component (a parameter value), so it also escapes characters like & and = that separate parts of a URL. Use it on individual values, not on a whole finished URL, or those structural characters will be escaped too.

FAQ

Is my text uploaded?+

No. Encoding and decoding run in your browser, so your text never leaves your device.

Should I encode a whole URL or just a value?+

Encode individual values (query parameters), not a finished URL — otherwise structural characters like & and = get escaped too.

What does URL encoding change?+

It replaces unsafe or special characters — spaces, &, ?, non-ASCII — with a % and their code, so text fits safely in a URL.

Why did my link break without encoding?+

Unencoded spaces or symbols can end a URL early or change its meaning. Encoding keeps the value intact.

Is it free?+

Yes, completely free — no sign-up and no watermark.

Is my data private?+

Yes — this tool runs entirely in your browser. Your files and text are never uploaded.

Related tools

Also available for AI agents:Markdown ·JSON