Skip to content

URL Encoder & Decoder

Encode or decode URLs and query parameters — with a clear split between component encoding and full-URL encoding.

Input

Output

Choose a mode and press Run.

Component encoding escapes slashes, equals signs and ampersands, which is what a query parameter needs. Full-URL encoding keeps those characters because they are legal in an address.

Your file is never sent to a server. It is read and processed by your own browser, and the results are not stored.

How to use it

  1. Paste a URL or a query parameter.
  2. Choose component or full-URL mode.
  3. Press Run and copy the result.

Limits worth knowing

  • Component encoding is for a single value inside a URL, not a whole address.
  • Full-URL encoding keeps “/”, “?” and “&”, which is correct for an address but wrong for a parameter.
  • Invalid percent-encoded input is reported, not repaired.
  • No server is involved; nothing is transmitted.

Why there are two modes

A query parameter like `[email protected]` breaks the URL because “@” is meaningful in a user-info segment. Encoding the parameter value with component encoding fixes that, and decoding it reverses it.

A whole address, `https://a/b c`, needs only the space escaped. Component encoding would escape the slashes and the address would stop working. Full-URL encoding is the right mode there.

When to reach for this tool

Use it for building query strings by hand, debugging a link that “works in the address bar but not in code”, or decoding a percent-encoded blob from a log file or API response.

It does not validate whether a decoded address is safe to open, and it does not fetch anything.

Frequently asked questions

Does URL Encoder & Decoder upload my files to any server?

No. URL Encoder & Decoder runs in your browser, and the file is read there rather than sent to a server for processing. Our host still sees ordinary page-request metadata, which is described on the privacy page.

Is URL Encoder & Decoder free to use?

Yes, URL Encoder & Decoder is free, with no paid tier, no account, and no watermark added to your output. The limits are technical rather than commercial: file size, page count and supported formats are listed on this page.

What file formats and sizes are supported?

URL Encoder & Decoder supports .txt files up to 1MB directly in your browser.

What is the difference between component and full-URL encoding?

Component encoding escapes everything that is unsafe inside one path segment or query parameter, including “/”, “=” and “&”. Full-URL encoding keeps those characters because they are legal in an address. Pick the one that matches where the value will be used.

What happens to invalid percent-encoded input?

The decoder reports the error instead of guessing, for example a stray “%” or a sequence like “%zz”. Nothing is silently converted.

Does the text get uploaded?

No. Everything is encoded or decoded in this tab. No request is sent.