Encode and decode URLs and URI components online
encodeURI encodes a full URL but preserves : / ? # [ ] @ ! $ & ' ( ) * + , ; =encodeURIComponent encodes everything except A-Z a-z 0-9 - _ . ~ — use this for query parameter values.
URL encoding (percent-encoding) replaces unsafe characters with a % followed by two hexadecimal digits representing the character's UTF-8 byte value.
%20 (or + in form data)%26%3D%3F%23Go deeper
The calculator gives you the number. These SnoopTool guides explain the method, the assumptions and the decision — with worked examples, data tables and FAQs.
Browse all SnoopTool guides →Short, exact answers to the questions people ask alongside this tool — the number first, then the working.
For teams, not just visitors
We build the calculators on SnoopTool as embeddable widgets in your branding, wired to your own lead form — the same maths, your colours, your domain, your leads. Tell us which one and we will send back a working demo you can put in front of your team.
Thanks — we have it, and you will get a reply from a person within one business day. Meanwhile every tool on SnoopTool stays free, with no signup.