TinyTools

Runs in this tab · no upload · no account · free

URL encoder and decoder

Encode text for a URL, decode percent-escaped strings, and pull a query string apart into a readable table.

Questions

Encode vs encodeURIComponent?

encodeURIComponent escapes everything that is not safe inside a single parameter value. Use it for values; use "whole URL" mode to keep :// and ? intact.

Why do spaces become %20 and sometimes +?

In a query string, + is the traditional shorthand for a space in form encoding. Both decode to a space here.

Can I decode a whole pasted URL?

Yes. Decode works on the text as given, so paste the URL and it decodes every escaped part.

Other tools

JSON formatter and validator · QR code generator · CSV ↔ JSON converter · Base64 encode and decode · Text tools · Unix timestamp converter