Percent-encode text for safe use in URLs and query strings, or decode encoded URLs back to readable text.
Developers building query strings and debugging encoded links.
Choose encode or decode
Switch between encoding plain text and decoding an encoded string.
Pick the scope
Use component encoding for query values, or turn it off to preserve full-URL structure.
Paste and copy
Enter your text and copy the converted output.
URLs can only contain a limited set of characters, so spaces, ampersands, and non-ASCII text must be percent-encoded. Using the wrong function (whole URL vs. a single query value) is a frequent bug — this tool lets you pick the right one.
Building query strings
Safely encode parameter values that contain spaces or symbols.
Debugging links
Decode an encoded URL to read what it actually points to.
API requests
Encode path and query components before sending requests.
Component encoding (encodeURIComponent) escapes characters like / ? & = and is for individual values. Full-URL encoding (encodeURI) leaves those intact to preserve the URL structure.
A malformed percent sequence (like a lone %) cannot be decoded. Check the input for incomplete escapes.
Yes. All encoding and decoding happens in your browser.