URL Encoder & Decoder

Safely encode query text or decode percent-encoded URLs.

How it works

This tool uses encodeURIComponent and decodeURIComponent, which are intended for individual query components rather than complete URLs.

encodeURIComponent(input) or decodeURIComponent(input).

Common questions

Should I encode a full URL?

Usually encode individual query values, not the entire URL.

Is the input uploaded?

No. Encoding runs in the browser.

Independent developer utility. Review output before using it in production.