URL Encoder / Decoder

Encode and decode URLs

Percent-encode and decode URLs, inspect query strings, and escape HTML.

Free, private, no sign-up

Was this tool helpful?

Encode and decode URLs

Paste text and choose URL encode or URL decode. When encoding, pick A part for a single query value or path segment (everything special is escaped), or A whole URL to keep : / ? & = intact. Paste a full URL to see its host, path and every query parameter, decoded.

HTML entities

HTML encode turns <, >, & and quotes into entities so text can be shown safely in a page. HTML decode turns entities back into characters.

Good to know

Is my text sent anywhere?

No. Everything runs in your browser.

Should a space be %20 or +?

In URLs a space is %20. HTML forms send + instead (form encoding). Tick "Spaces as +" when you're building form data. The decoder treats + as a space by default.

Why does decoding say the input is broken?

A % must be followed by two hex digits, and the bytes must form valid UTF-8. A cut-off escape such as %E0%A4 can't be decoded.