Free URL Encoder
Percent-encode text for safe URLs.
Your encoded URL will appear here.
Ad space · tool-below
How to use the URL Encoder
- 1Type text.
- 2Choose encoding mode.
- 3Copy the encoded URL.
Features
- component vs full URI mode
- + vs %20 for spaces
- Live preview
Frequently Asked Questions
Which mode should I use?
encodeURIComponent for query values; encodeURI for whole URLs you want to keep mostly intact.
Related Tools
About the URL Encoder
Encode text with encodeURIComponent or encodeURI, with the classic + for spaces option. The URL Encoder runs entirely in your browser — your data is processed locally and never uploaded to a server. Explore more Developer tools or browse all free online tools.