URL encode / decode
Percent-encode text for query strings and URLs, or decode %XX back to readable text — entirely in your browser.
Tool processing runs in your browser — your pastes/files are not uploaded to our servers for processing.Details
Frequently asked questions
What is URL encoding?
URL (percent) encoding replaces characters that are unsafe in a URL — spaces, &, ?, =, non-ASCII — with %XX codes. For example a space becomes %20 and é becomes %C3%A9. It keeps query strings and paths valid.
What is the difference between encodeURI and encodeURIComponent?
encodeURIComponent encodes almost everything (used for a single query value or path segment). encodeURI keeps URL structure characters like / ? & intact (used for a whole URL). This tool offers both.
How do I decode a %20 URL?
Switch to Decode and paste the encoded string — %20 becomes a space, %C3%A9 becomes é, and so on. Invalid sequences show an error.
Is my input uploaded?
No. TryDevSnip uses the browser's native encodeURIComponent/decodeURIComponent. Nothing you paste is uploaded to our servers for processing.