URL Encoder
Convert special characters in URLs and query strings into percent-encoded format.
URL Component & Character Frequency
& ? =)
6 instances
%20)
3 instances
How to Encode URLs
Paste Plain URL or Text
Input full website links, REST API query parameters, or isolated raw text containing characters like spaces, ampersands, or hashes.
Select Encoding Standard
Choose encodeURIComponent for individual parameters or encodeURI to preserve path slashes and protocol schemes.
Copy Percent-Encoded String
Get instant RFC 3986 percent-escaped URLs with single-click clipboard copying, fully safe for web requests and curl scripts.
Related Developer Tools
URL Decoder
Restore percent-encoded ASCII (%20, %2F) back to original plain readable characters.
Base64 Encoder
Encode raw strings, UTF-8 buffers, or cryptographic hashes into Base64 representation.
HTML Formatter
Indent, clean up, and beautify minified HTML5 markups with standard formatting rules.
JSON Formatter
Validate, pretty-print, and inspect large nested JSON trees with syntax highlighting.
Encode URL values
Use component mode for a query value. Use full-URL mode when protocol and URL delimiters should remain intact.
Example
The query value a b&c becomes a%20 b%26 c in component mode.
Before you use the result
Do not encode an entire URL as a query component unless that URL is itself a parameter value.