Free URL Encoder & Decoder
Encode or decode URLs and query strings with special characters.
About this tool
How to use
Frequently Asked Questions
URL encoding (percent-encoding) converts characters that are not allowed in URLs into a format that can be safely transmitted. For example, a space becomes %20, and & becomes %26.
Use URL encoding when passing data in query parameters, form submissions, or API calls. Without proper encoding, special characters can break your URL or be misinterpreted by the server.
encodeURIComponent encodes all characters except letters, digits, and -_.~. It is used for encoding individual query parameter values. encodeURI preserves URL-reserved characters like /, ?, #, & and is used for encoding full URLs.
%20 is the URL-encoded representation of a space character. The percent sign (%) indicates the start of a percent-encoded sequence, followed by two hexadecimal digits representing the character's ASCII code.
