URL Encoder & Decoder
Safely encode and decode URLs and query parameters with RFC 3986, encodeURIComponent, encodeURI, and formUrlEncoded modes.
Live Query Parameter Visualizer & Editor
Extract, edit, toggle, and assemble complex URL search parameters with instant synchronized output.
No query parameters found in the current input.
RFC 3986 URL Anatomy Breakdown
Deconstructs the input URI into its protocol, authority, host, port, path segments, search query, and hash fragment.
ASCII & RFC 3986 Percent-Encoding Matrix
Complete reference for percent-encoding values across standard RFC 3986 and application/x-www-form-urlencoded.
| Character | Dec | Hex | RFC 3986 (%) | Category | Specification Notes |
|---|---|---|---|---|---|
| 32 | 0x20 | Whitespace | Space character | ||
| 33 | 0x21 | Reserved (RFC 3986) | Exclamation mark (sub-delimiter) | ||
| 34 | 0x22 | Common Special | Quotation mark | ||
| 35 | 0x23 | Reserved (RFC 3986) | Fragment identifier / anchor | ||
| 36 | 0x24 | Reserved (RFC 3986) | Dollar sign (sub-delimiter) | ||
| 37 | 0x25 | Common Special | Percent sign (encoding escape char) | ||
| 38 | 0x26 | Reserved (RFC 3986) | Ampersand (parameter separator) | ||
| 39 | 0x27 | Reserved (RFC 3986) | Single quote / apostrophe (sub-delimiter) | ||
| 40 | 0x28 | Reserved (RFC 3986) | Left parenthesis (sub-delimiter) | ||
| 41 | 0x29 | Reserved (RFC 3986) | Right parenthesis (sub-delimiter) | ||
| 42 | 0x2A | Reserved (RFC 3986) | Asterisk (sub-delimiter) | ||
| 43 | 0x2B | Reserved (RFC 3986) | Plus sign (often decoded as space in forms) | ||
| 44 | 0x2C | Reserved (RFC 3986) | Comma (sub-delimiter) | ||
| 45 | 0x2D | Unreserved (RFC 3986) | Hyphen / minus | ||
| 46 | 0x2E | Unreserved (RFC 3986) | Period / dot | ||
| 47 | 0x2F | Reserved (RFC 3986) | Forward slash (path segment delimiter) | ||
| 58 | 0x3A | Reserved (RFC 3986) | Colon (scheme/port delimiter) | ||
| 59 | 0x3B | Reserved (RFC 3986) | Semicolon (sub-delimiter) | ||
| 60 | 0x3C | Common Special | Less-than sign | ||
| 61 | 0x3D | Reserved (RFC 3986) | Equal sign (name-value assignment) | ||
| 62 | 0x3E | Common Special | Greater-than sign | ||
| 63 | 0x3F | Reserved (RFC 3986) | Question mark (query string start) | ||
| 64 | 0x40 | Reserved (RFC 3986) | At symbol (userinfo delimiter) | ||
| 91 | 0x5B | Reserved (RFC 3986) | Left bracket (IPv6 literal delimiter) | ||
| 92 | 0x5C | Common Special | Backslash | ||
| 93 | 0x5D | Reserved (RFC 3986) | Right bracket (IPv6 literal delimiter) | ||
| 94 | 0x5E | Common Special | Caret | ||
| 95 | 0x5F | Unreserved (RFC 3986) | Underscore | ||
| 96 | 0x60 | Common Special | Grave accent / backtick | ||
| 123 | 0x7B | Common Special | Left curly brace | ||
| 124 | 0x7C | Common Special | Vertical bar / pipe | ||
| 125 | 0x7D | Common Special | Right curly brace | ||
| 126 | 0x7E | Unreserved (RFC 3986) | Tilde |
Zero-Knowledge Local Execution
All data processing, parsing, and compilation execute strictly inside your local browser memory. Zero external server uploads.
Instant Client-Side Engine
Instant real-time reactive computation delivers immediate feedback on every keystroke with zero network latency.
Production Standards & Compliance
Strictly validates syntax, edge cases, and formatting rules for dependable production output.
URL Encoder & Decoder — Reference Guide
Safely encode and decode URLs and query parameters with RFC 3986, encodeURIComponent, encodeURI, and formUrlEncoded modes.
Key Parameters & Controls
| Parameter | Type / Unit | Description | Default |
|---|---|---|---|
| Input Text / URL | String | URL, URI string, or raw query parameters to encode or decode. | https://example.com/search?q=hello world |
| Standard / Mode | Enum | Encoding standard: encodeURIComponent, encodeURI, RFC 3986, or formUrlEncoded. | encodeURIComponent |
| Direction | Enum | Operation direction: Encode vs Decode. | encode |
Pro Tips & Best Practices
encodeURI preserves characters like '?' and '&'. If you need to embed a URL inside another URL query parameter, always use encodeURIComponent or RFC 3986.
OAuth 1.0/2.0 signatures and AWS Signature Version 4 require strict RFC 3986 percent-encoding, where characters like ! * ' ( ) must be encoded.
In application/x-www-form-urlencoded, spaces become '+' instead of '%20'. When decoding, this tool properly turns '+' into standard whitespace.
Common Gotchas & Troubleshooting
⚠️URIError: URI malformed during decoding
This occurs when an invalid percent sequence (like '%G5' or incomplete '%') is found. Verify the percent encoding sequences.
⚠️Query parameters are cut off at '&'
Values containing '&' must be encoded as '%26' before appending to the query string.
Frequently Asked Questions
What is the difference between encodeURI and encodeURIComponent?▼
encodeURI is meant for complete URLs and does not encode reserved characters like : / ? # & =. encodeURIComponent encodes these characters, making it suitable for parameter values.
Why does space turn into '+' in forms?▼
The application/x-www-form-urlencoded MIME type specifies '+' as the space representation for legacy historical compatibility in HTTP POST form submissions.
Are tokens or private URLs sent to an external server?▼
No. All encoding and decoding operations execute entirely in your browser using local JavaScript.
What is the difference between encodeURI and encodeURIComponent?▼
encodeURI preserves protocol and path delimiters like '://', '/', and '?' for full URLs, while encodeURIComponent encodes everything including slashes and query delimiters, making it suitable for individual query parameter values.
Related Tools & Utilities
All Tools →Deconstruct, parse, edit, and reconstruct complex URLs with visual query string parameter tables, protocol detection, and real-time rebuilds.
Encode and decode Base64 strings or binary files instantly. Supports URL-safe base64url, UTF-8 unicode, MIME line wrapping, Data URLs, and live error repair.
Convert special characters to HTML entities (&, <, >) and back with one click.
Build, validate, and batch generate Google Analytics GA4 campaign tracking links with our free UTM builder. Clean URLs, parse existing tags, and export QR codes.
Convert PNG, JPG, SVG, WebP, GIF, and ICO images to Base64 Data URIs, HTML img tags, CSS backgrounds, and React JSX.
Build valid rel=canonical tags and HTTP headers with our Canonical Tag Builder. Strip tracking parameters, normalize URLs, and fix SEO duplicate content issues.