URL Encoder & Decoder
Percent-encode or decode URL components instantly
Use encodeURIComponent for query parameters and path segments (encodes / ? # &). Use encodeURI for entire URLs (preserves reserved characters).
How it works
- 1Paste text or URL
Drop any string or URL into the input box.
- 2Pick encode or decode
Use encodeURIComponent for query params or encodeURI for full URLs.
- 3Copy the result
Copy the encoded or decoded output with one click.
About URL Encoder & Decoder
Free URL encoder and decoder. Convert plain text or query-string parameters to percent-encoded (RFC 3986) format, or decode existing URLs back to readable text. Handles Unicode, spaces, reserved characters — all in your browser. URL Encoder & Decoder on 712 Tools runs entirely inside your browser using modern JavaScript APIs — no server ever sees your data. That means instant results, complete privacy, and no upload limits.
Whether you need to percent-encode or decode url components instantly for a debugging session, a quick sanity check, or a production incident, this tool is free to use as many times as you need. There are no watermarks, no sign-up, and no ads inside the tool itself.
Frequently asked questions
What is the difference between encodeURI and encodeURIComponent?
encodeURI preserves reserved URL characters (/, ?, #, &) — use it on entire URLs. encodeURIComponent encodes those too — use it on individual query parameters or path segments.
Does it support Unicode?
Yes. Emoji and non-ASCII characters are UTF-8 encoded per RFC 3986 (e.g. é becomes %C3%A9).
Why do spaces become %20 instead of +?
%20 is the standard per RFC 3986. + is only valid inside application/x-www-form-urlencoded form data, not in real URLs.
Is my URL sent anywhere?
No. Encoding and decoding both use built-in browser APIs. Nothing leaves your device.
Read more
JWT explained: what actually goes inside that token
Every login flow you touch these days involves JWTs, but 'JSON Web Token' hides a lot. Here's the three-part structure, the security pitfalls, and when not to use them.
The regex cheat sheet every JavaScript developer actually needs
Forget lookbehind edge cases. Here are the 15 patterns you'll use in real code — validation, extraction, replacement — with the JavaScript-specific gotchas.
Why your JSON won't parse (and how to fix it in 30 seconds)
Trailing commas, unquoted keys, single quotes, comments — the five errors that break 90% of hand-written JSON, and how to catch them without a build step.
Related tools
Base64 Encoder / Decoder
Encode text or files to Base64 and back
JWT Decoder
Decode JSON Web Tokens and inspect claims
HTML Entities
Convert special characters to HTML entities and back
Word Counter
Count words, characters, sentences, paragraphs, reading time
Case Converter
Convert text to UPPERCASE, lowercase, camelCase, snake_case, kebab-case, and more
Lorem Ipsum
Generate placeholder text — paragraphs, sentences, or words