Live · full vs component toggle

URL Encoder / Decoder

Percent-encode or decode URLs instantly — switch between full-URI and component modes to see exactly which characters each one touches.

https%3A%2F%2Fexample.com%2Fsearch%3Fq%3Dhello%20world%26lang%3Den

Component for values

Encoding a query value by hand? Use component mode — it encodes & and = too, so your value can never break the query string structure.

Full for whole URLs

Full mode keeps :// ? & = # intact so the URL still works. Encoding a whole URL in component mode mangles it — a classic double-encoding bug.

Beware double encoding

Encoding an already-encoded string turns %20 into %2520. If your output shows %25, you encoded twice — decode once and start over.

How to use the URL encoder / decoder

  1. Choose encode or decode

    Encode turns special characters into %XX sequences; decode reverses it.

  2. Pick the method

    Component (encodeURIComponent) for single values; Full URI (encodeURI) for complete URLs.

  3. Paste your input

    The output updates live as you type, with character counts on both sides.

  4. Swap or copy

    Use Swap to feed the output back as input and reverse the operation, or copy the result.

Encoding is reversible text transformation, not security — it does not hide or protect data.

Frequently asked questions

Related tools

Need a custom tool?

We build calculators and internal tools for businesses — get in touch.

Directory last updated 2 December 2026.

Disclaimer: URL encoding is a text transformation, not encryption. Encoded URLs remain fully readable — never rely on encoding to protect sensitive data in links.