URL encoder, decoder & query parameter inspector
Encode or decode URLs, inspect path components, and extract query string parameters into an editable table. All operations execute directly in your browser with zero data leakage.
Component encoding vs full URL encoding
| Mode | JavaScript API | Preserved Characters | Best For |
|---|---|---|---|
| Component | encodeURIComponent() | Letters, digits, - _ . ! ~ * ' ( ) | Query parameter keys and values, path segments. |
| Full URL | encodeURI() | URL delimiters: : / ? # [ ] @ ! $ & ' ( ) * + , ; = | Complete URLs where protocol and slashes must stay intact. |
| Decode | decodeURIComponent() | Translates percent-encoded sequences (%20, %26, etc.) | Reading obfuscated URLs and API endpoints. |
Common percent-encoding characters
%20— Space%2F— Forward Slash/%3F— Question Mark?%26— Ampersand&%3D— Equals Sign=%23— Hash / Anchor#
Frequently asked questions
What is the difference between encodeURI and encodeURIComponent?
encodeURIComponent encodes all characters except letters, digits, and - _ . ! ~ * ' ( ), making it ideal for individual query parameters. encodeURI preserves URL structure characters like : / ? # & =, making it suitable for complete URLs.
Can I inspect and edit individual query parameters?
Yes. Pasting a URL automatically extracts all search query parameters into an interactive table where you can view keys, decoded values, and copy them directly.