URL Encoder / Decoder
Encode or decode URL components in three flavours, with a live query-string builder
Frequently Asked Questions
Everything you need to know about this tool
For almost every case where you are building a query value, use the default Component mode. Switch to Whole URL when you have a complete URL with a scheme, host and path that you do NOT want to alter. Use Form for HTML form submissions that encode spaces as "+".
A "%" character must be followed by exactly two hex digits. "%z3" is malformed; "%20" is fine. The tool shows the exact JS error so you can locate the bad byte.
Because the specs disagree. encodeURIComponent always uses %20. The application/x-www-form-urlencoded rule (originally from HTML forms) says space must be "+". Use the matching Decode mode — or the decoder can produce ambiguous output.
Yes. The scheme, host, path and fragment (#...) stay untouched. Only the "?" query portion is rebuilt from the rows.
Yes — the address bar gets your input, direction and mode (up to 1 KB). The recipient opens the same link and sees the exact encode/decode you had.
No. Every transformation happens inside your browser tab. You can verify in DevTools → Network — no outbound request fires when you type.