DevKit Labs

URL Encoder & Decoder

Percent-encode or decode URLs and query strings — with a parameter parser, 100% in your browser.

Plain text
Encoded

About URL Encoder & Decoder

Switch between Encode and Decode and your text converts instantly. Encoding offers two modes: Component (encodeURIComponent) escapes everything including ? & = / : — ideal for a single query value — while Full URI (encodeURI) preserves the structural characters of a complete URL.

Paste a URL or query string and the parameters are parsed into a readable key/value table, with values decoded for you. Everything runs locally in your browser; nothing is uploaded.

Encode a query value

Input
name=John Doe & co
Output
name%3DJohn%20Doe%20%26%20co

Use Full URI mode to keep ? & = / when encoding a whole URL.

Frequently asked questions

What's the difference between Component and Full URI encoding?

Component (encodeURIComponent) escapes all reserved characters, so it's right for a single parameter value. Full URI (encodeURI) leaves URL-structure characters like : / ? & = intact, so it's right for encoding an entire URL.

Why does decoding fail sometimes?

Decoding throws on malformed percent-encoding — for example a lone % or an incomplete %XX sequence. Fix the stray character and it will decode.

Can it parse query-string parameters?

Yes. Paste a URL or query string and the parameters are listed as decoded key/value pairs.

Is my data uploaded anywhere?

No. All encoding, decoding and parsing happen locally in your browser.

Related tools