UTILS.
Private by default
%

URL Encoder / Decoder

Percent-encode strings for safe use in URLs, or decode them back.

Your files stay on this device

Files are processed in your browser, never uploaded. The site downloads code and assets to run the tools. No accounts or trackers.

Use Download to save this tool as one HTML file for offline use.

Privacy →
—

Component encodes one value. Complete URL preserves URL separators. Form field uses + for spaces.

UTF-8 text · up to 5 MiB · stays on this device

Try a worked example

Example

In URL component mode, encoding a&b=c d gives a%26b%3Dc%20d, so the value cannot break a query string. Form field mode gives a%26b%3Dc+d, matching how HTML forms send spaces.

Keep in mind

Encode each query value separately, not a whole address; Complete URL mode deliberately leaves characters such as & and ? alone. Decoding with the wrong mode can leave a + where a space was meant.

About this tool

Component encodes one value. Complete URL preserves URL separators. Form field uses + for spaces.

Editing the input or settings clears the previous result. Copy and download always use the latest completed conversion.

Your text and files stay on this device. Nothing is uploaded or saved by this tool.

Frequently asked questions

How do I use this tool?
Component encodes one value. Complete URL preserves URL separators. Form field uses + for spaces.
How does it handle my data?
Your text and files stay on this device. Nothing is uploaded or saved by this tool.

More tools