RFC 3986 Standard

The Professional
URL Gateway

A surgical-grade interface for encoding, decoding, and normalizing Uniform Resource Identifiers. Built for developers who demand precision and 100% client-side data isolation.

URL Encoding Illustration

Source Input

Enter a raw URL, query parameter, or text string.

Transformation Result

The processed output string.

Technical Capabilities

⚑

Real-Time Transformation

Instantaneously applies standard encoding algorithms (encodeURI, encodeURIComponent) as you type, with zero network latency.

πŸ”„

Heuristic Decoding

Intelligently detects and reverses percent-encoded sequences, restoring readability to obfuscated query strings and deep links.

🧭

Protocol Normalization

Sanitizes malformed URLs by standardizing protocol prefixes, resolving adjacent slashes, and enforcing canonical formatting.

πŸ›‘οΈ

Syntax Validation

Pre-flight checks for your URLs. Identifies structural issues and invalid characters before they break your backend logic.

πŸ”§

Multi-Standard Support

Toggle between strict URI Component encoding, Full URL preservation, or `application/x-www-form-urlencoded` (space = +) modes.

πŸ’Ύ

Portable Exports

Generate clean documentation assets. Copy sanitized strings to clipboard or export results as text files for audit logs.

🌐

Offline Availability

Engineered for reliability. This PWA-ready tool functions completely offline once loaded, ensuring access in air-gapped environments.

πŸ”’

Client-Side Isolation

Zero-trust architecture. Your data never leaves the V8 sandbox of your browser. No server logging, no persistent storage.

Workflow: From Raw String to Safe URI

1

Input Isolation

Paste your target string into the Source Input. The tool accepts full URLs (`https://...`), isolated query parameters, or form data.

2

Select Standard

Choose **URI Component** for query values (strict), **Full URL** to preserve structure, or **Form** for legacy POST data compatibility.

3

Execute Transformation

Trigger **Encode** to sanitize unsafe characters (like spaces or `&`) or **Decode** to revert percent-encoded sequences to text.

4

Normalize (Optional)

Use **Normalize** to enforce standard URL structuring, automatically fixing protocol omissions and redundant delimiters.

5

Extract Result

Copy the transformed string directly to your clipboard for use in API calls, HTML attributes, or database entries.

6

Audit & Save

For complex debugging sessions, download the output as a `.txt` file to maintain a record of the transformation steps.

URL Encoding Examples

Query Parameter

Input:
search=smart formatter & lang=en

URI Component:
search%3Dsmart%20formatter%20%26%20lang%3Den

Form:
search%3Dsmart+formatter+%26+lang%3Den

Full URL

Input:
https://api.example.com/callback?redirect=/dashboard&state=abc123

Full URL:
https://api.example.com/callback?redirect=/dashboard&state=abc123

URI Component:
https%3A%2F%2Fapi.example.com%2Fcallback%3Fredirect%3D%2Fdashboard%26state%3Dabc123

Percent Decoding

Encoded:
file%2Fupload%3Fname%3Dreport%252Epdf

Decoded once:
file/upload?name=report%25.pdf

Decoded twice:
file/upload?name=report.pdf

Deep Dive: RFC 3986 & Percent-Encoding

The Physics of Percent-Encoding

URLs are limited to a subset of ASCII characters. Unsafe characters (like spaces, emojis, or separators in the wrong place) must be converted into a safe format: a `%` followed by two hexadecimal digits (e.g., Space β†’ `%20`).

Original:  search?q=C++ & Rust
Encoded:   search?q=C%2B%2B%20%26%20Rust

When to Encode?

Encoding is critical when injecting user-generated content into a URL. If you don't encode a user's name like "Ben & Jerry", the `&` will be interpreted as a delimiter, breaking the query string structure and potentially causing security vulnerabilities.

Strategy: URI vs. Component

  • Full URL (encodeURI): Smashes unsafe chars but leaves reserved separators (`:`, `/`, `?`, `#`, `&`) intact. Use this when you have a complete URL that just needs cleanup.
  • Component (encodeURIComponent): Encodes everything including separators. Mandatory for values within a query string (e.g., `?redirect_url=...`).

Common Pitfalls

  • Double Encoding: Accidentally encoding `%20` again results in `%2520`, breaking the data.
  • Form vs. Percent: HTML forms often use `+` for spaces (`application/x-www-form-urlencoded`), but APIs expect `%20`. Mismatching these causes data corruption.

Engineering Scenarios

Marketing & Tracking

When constructing UTM parameters (`utm_source`, `utm_campaign`), spaces and special characters must be strictly encoded to ensure analytics platforms parse them correctly.

REST API Payloads

Sending standard JSON or XML inside a GET request query parameter? You must encode the entire payload string to prevent JSON brackets `` from being misinterpreted by the server.

OAuth & Callbacks

Authentication flows (OAuth2, SAML) heavily rely on `redirect_uri` parameters. These URLs usually contain their own query strings, requiring strict encodeURIComponent handling to prevent parameter leakage.

Legacy Form Debugging

Inspect raw POST bodies from legacy systems. Our "Form" mode mimics the `application/x-www-form-urlencoded` standard (replacing spaces with `+`), essential for debugging older backend integrations.

Technical FAQ

Related Developer Tools

Continue working faster with the rest of our toolbox.

Base64 Decoder

Decode Base64 strings, images, and JWT payloads in your browser.

Open Base64 Decoder β†’

Hash Generator

Create MD5, SHA-1, and SHA-256 hashes for files or text instantly.

Open Hash Generator β†’

Regex Tester

Test and debug regular expressions with real-time matching and highlighting.

Open Regex Tester β†’