RFC 3986 URI & Query Parameter Suite

URL Encoder, Decoder & Parser

Inspect, break down, and edit complex URLs. Live query string parameter table editor, visual path breadcrumbs, and standard percent encoding/decoding. 100% in-browser.

Path Breadcrumb Hierarchy
/ (root)v2analyticsreports#summary
Protocol

https:

Subdomain

api.staging

Root Domain

example

TLD Suffix

com

Port

8443

Hash / Anchor

#summary

Query String Parameters (3)

Toggle, edit, or add query parameters. The URL updates automatically in real time.

ActiveKey (Name)ValueActions

Export Parsed Breakdown (JSON)

{
  "isValid": true,
  "rawUrl": "https://api.staging.example.com:8443/v2/analytics/reports?range=30d&format=json&active=true#summary",
  "protocol": "https:",
  "hostname": "api.staging.example.com",
  "subdomain": "api.staging",
  "domain": "example",
  "tld": "com",
  "port": "8443",
  "origin": "https://api.staging.example.com:8443",
  "pathname": "/v2/analytics/reports",
  "pathSegments": [
    "v2",
    "analytics",
    "reports"
  ],
  "search": "?range=30d&format=json&active=true",
  "queryParams": [
    {
      "id": "igyp9m1",
      "key": "range",
      "value": "30d",
      "enabled": true
    },
    {
      "id": "j3efau5",
      "key": "format",
      "value": "json",
      "enabled": true
    },
    {
      "id": "r5tdgep",
      "key": "active",
      "value": "true",
      "enabled": true
    }
  ],
  "hash": "#summary"
}

Understanding URL Architecture & RFC 3986

encodeURI vs encodeURIComponent

encodeURI is meant for complete URLs; it does not encode protocol delimiters or query separators (/, :, ?, &). encodeURIComponent encodes all separators and should be used on parameter values.

Subdomains & Multi-Part TLDs

Many country-code domains use two-part public suffixes like .co.uk or .com.au. Our parser recognizes multi-part TLDs to correctly isolate root domains from subdomains.

Local Sandbox Privacy

All URL component parsing, query parameter modifications, and percent decoding run locally in your browser memory. Internal staging links, auth tokens, and session IDs remain strictly confidential.

Frequently Asked Questions

What causes a "URI malformed" error?
This occurs when decodeURIComponent encounters a percent symbol followed by characters that are not valid two-digit hexadecimal values (e.g. %G5 or a trailing %).
Can I edit query parameters and copy the new URL?
Yes! Any changes you make to key/value inputs or active checkboxes instantly update the target URL input at the top, ready for one-click copying.
When should I use encodeURI vs encodeURIComponent?
Use encodeURI on a full web address to preserve :, /, and ?. Use encodeURIComponent on specific parameter values to escape special characters like &, =, and +.