URL Encoder / Decoder

Percent-encode or decode URLs and query string components online.

Interested in advertising in this spot? Contact us for sponsorship options

encodeURI vs encodeURIComponent

Encode uses encodeURI, which is meant for encoding a full URL and leaves characters like /, :, and ? untouched. Encode Component uses encodeURIComponent, which escapes those characters too and is what you want when encoding a single query parameter value.

Share on LinkedIn Share on X
Link to this tool

Copy this HTML to cite this tool from your own site or article.

Interested in advertising in this spot? Contact us for sponsorship options