IQ
PayloadIQ
PayloadIQ Utilities

URL Encode / Decode

Encode a string for safe use in a URL, or decode a percent-encoded value.

Result appears here.

Runs in your browser. Your input is not uploaded to PayloadIQ.

Percent-encoding makes a string safe to drop into a URL: characters with special meaning — like &, ?, =, / and spaces — are replaced with % escapes so they are treated as literal data rather than URL syntax. Encode here uses encodeURIComponent and decode uses decodeURIComponent, the same functions your browser and Node runtime use.

One caveat: encodeURIComponent is meant for individual components (a single query value or path segment), not a whole URL — it will escape the :, / and ? that give a full URL its structure. Encode each value separately, then assemble the URL around them.

Related utilities

Base64 Encode / DecodeHTML Entity Encode / DecodeJSON Escape / UnescapecURL to Fetch
Open PayloadIQ Playground