url encode decode

How to URL encode and decode

URLs only allow a limited character set. Percent-encoding (space → %20) lets you put arbitrary text in queries and paths.

Open URL Encoder / Decoder

Encode vs decode

Encode before putting input in a query. Decode when reading. Double-encoding causes classic %2520 bugs.

Parse queries

LedaTools shows encoded/decoded forms and key=value pairs.

encodeURI vs encodeURIComponent

encodeURIComponent is more aggressive (includes & and =)—usually correct for a single parameter value.

Unicode

Non-ASCII characters become UTF-8 percent-encoded. Ensure client and server agree on UTF-8.

Quick debug

If a redirect “eats” parameters, decode the full URL and inspect the parsed query.

FAQ

What is percent-encoding?

Replaces unsafe characters with %HH sequences.

Does it parse queries?

Yes, it lists parameters when present.

Is it local?

Yes. Transforms run in the browser.

Related guides

Open the tool