ToolForge
Development

URL Encoder / Decoder

Encode or decode URLs and query string components.

About this tool

The URL Encoder / Decoder converts special characters into percent-encoded form and back. “Encode component” escapes everything unsafe for a query parameter, while “Encode full URL” preserves structural characters like :, / and ? so a whole address stays valid.

Percent-encoding is required whenever user input goes into a URL — spaces become %20, ampersands %26 — otherwise the URL breaks or the parameter is misread by the server.

Frequently asked questions

Use component encoding for individual values you're inserting into a query string. Use full URL encoding when cleaning up a complete address that already has its structure.

A lone % not followed by two hex digits is invalid. Fix or remove stray percent signs and decode again.

%20 is always correct. The + form is only valid inside query strings using form encoding, so %20 is the safer choice.