Encode and decode URLs, query strings, and URI components online with standard percent-encoding compliance. Fast & secure: free, no signup required at all.
Loading interactive URL Encoder & Decoder...
This URL encoder and decoder lets you convert text to and from the percent-encoded format used throughout the web. URLs cannot contain spaces, non-ASCII characters, or many punctuation symbols in their raw form — those characters must be escaped as %XX sequences (percent-encoding) before being sent to a server. This tool handles that conversion both ways: paste a URL or piece of text and encode it for safe use in a query string, path, or form field, or paste an encoded URL and decode it back into readable text. It works entirely in your browser, so nothing you paste is ever uploaded, stored, or shared.
Three encoding methods are supported. Component encoding (equivalent to JavaScript's encodeURIComponent()) is the right choice for values that will be placed inside a query parameter, because it escapes reserved characters like &, ?, and =. Full URL encoding (equivalent to encodeURI()) preserves the URL's structural characters and only escapes characters that are never valid anywhere in a URL — ideal when you want to encode an entire web address. The custom character set mode lets you define exactly which characters get encoded, useful when working with APIs or specifications that require a specific subset. You can also see a breakdown of any URL you enter, including its protocol, host, path, query parameters, and fragment.
Paste your URL or query string into the input box and click "Encode" or "Decode" to see the transformed string immediately. You can copy the result with one click. No account registration, login, or subscription is required.
Yes, the URL encoder works smoothly on all mobile web browsers including Chrome and Safari. You can fix broken links, encode special characters in query parameters, or decode tracking URLs on your smartphone with instant feedback.
Yes, the tool applies standardized RFC 3986 percent-encoding to represent spaces, ampersands, foreign language characters, and symbols safely without corrupting multi-byte UTF-8 character sequences. Your links remain clean and functional.
Never. All encoding and decoding run locally in your web browser using JavaScript encodeURI and encodeURIComponent functions. Your API tokens, confidential URLs, and tracking parameters are never transmitted across the internet.
encodeURI preserves functional URL syntax characters like http://, ?, &, and / while encoding invalid spaces and special symbols. In contrast, encodeURIComponent encodes all punctuation characters, making it suitable for encoding individual query parameter values.
Standard RFC 3986 URL path encoding uses "%20" for spaces, whereas legacy HTML form submission (application/x-www-form-urlencoded) traditionally uses "+". Our tool uses the universal "%20" percent-encoding standard compatible with all modern APIs.
Explore 6 related free browser tools.