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 →