Home URL

URL encode

ready

Encode strings for use in URLs (percent encoding) or decode percent-encoded URLs back to readable form.


STDINinput
STDOUToutput

Component vs Full URL

encodeURIComponent encodes everything that isn't a literal letter/digit/-_.~. Use it on a query parameter value (anything between ?key= and &).

encodeURI encodes only characters that aren't allowed in URLs at all - leaves :, /, ?, #, & intact. Use it on a full URL string.

Common questions

Is URL Encoder / Decoder free to use?

Yes. The tool runs in your browser at no cost, with no signup required.

Where is the math performed?

Calculations run locally in your browser. Your inputs do not leave your device.

Are the rates and rules current?

We update sources when published rates change. For high-stakes decisions, verify against the official source linked on this page.