Developer Utility

URL Encoder Decoder

Encode text for query strings and path fragments, or decode URL-encoded values back into readable text.

This tool mirrors the browser’s URL component encoding behavior so you can inspect reserved characters before sending a request.

Behavior notes

encodeURIComponent escapes reserved characters such as spaces, question marks, slashes, ampersands, and emoji bytes. Decoding expects valid percent-escaped sequences.

Encode or decode URL components

Spaces

Spaces become %20. This tool does not convert plus signs into spaces automatically.

Reserved characters

Characters like &, ?, #, and / are escaped for safe use inside a component.

Malformed input

If a percent sequence is incomplete or invalid, decoding shows an inline error instead of returning corrupted output.

How it works

Encoding applies the same UTF-8 percent-escape rules that browsers use for URL components. Decoding reverses those escapes back to readable text. This is useful for query parameter debugging, redirect URLs, and verifying how Unicode is represented in requests.