URL Encoder & Query String Decoder

Encode and decode UTF-8 URLs, Chinese query parameters, Base64, and Base64URL locally in one click.

How It Works & Reference

Use encodeURIComponent-compatible percent encoding whenever passing a nested URL (such as an OAuth redirect_uri or Chinese search keyword) inside a query parameter so &, =, ?, and # characters are never misinterpreted by servers.

Frequently Asked Questions

What is the difference between encodeURI and encodeURIComponent?

encodeURI preserves full-URL delimiters (:/?#&=), whereas encodeURIComponent encodes them so a string can safely sit inside a single query value.

Why do Chinese characters turn into %E4%B8%AD...?

RFC 3986 URIs only transmit ASCII characters directly, so UTF-8 bytes of Chinese characters are percent-escaped in hex.

Can I decode JWT Base64URL strings here too?

Yes, the codec engine handles Standard Base64, Base64URL, and URL percent encoding in the same panel.

Related Tools