100% Client-Side Privacy: Your files and data stay in your browser. Nothing is uploaded to our servers.

URL Encoder & Decoder

RFC 3986

Percent-encode and decode URL components or full URIs safely with support for query string `+` spaces and malformed URI error handling.

Optional Below-Tool Ad Placement (Disabled by Default)

How to Use URL Encoder & Decoder

  1. 1Paste your URL parameter, query string, or full web address into the input field.
  2. 2Select 'Component (`encodeURIComponent`)' for query parameter values or 'Full URI (`encodeURI`)' to preserve `:`, `/`, `?`, and `&`.
  3. 3Click 'Encode URL' or 'Decode URL' to transform the string immediately.
  4. 4Copy the encoded/decoded result to your clipboard.

Key Features & Privacy

  • ✦Supports both strict RFC 3986 component encoding (escaping `!`, `'`, `(`, `)`, `*`) and full URI encoding.
  • ✦Optional toggle to treat `+` signs as spaces when decoding `application/x-www-form-urlencoded` query strings.
  • ✦Gracefully catches `URIError: URI malformed` exceptions when decoding incomplete `%` sequences and explains the exact issue.
  • ✦One-click copy and input/output swap.

Frequently Asked Questions

When should I use Component mode vs Full URI mode?
Use Component mode when encoding a value that goes inside a query parameter (so `&` and `=` are escaped as `%26` and `%3D`). Use Full URI mode when encoding an entire link while keeping the protocol and path slashes intact.
Why did decoding throw a Malformed URI error?
A lone `%` symbol not followed by two valid hexadecimal digits (like `%20`) is invalid percent-encoding. Fix or remove the stray `%` to decode.
Optional Before-Related-Tools Ad Placement (Disabled by Default)

Related Developer Tools

Explore more 100% browser-based utilities in this category.

View All 30 Tools →
Popular

JSON Formatter & Validator

Validate, pretty-print, and minify JSON payloads safely using native JSON.parse and JSON.stringify with detailed syntax error reporting.

UTF-8 Safe

Base64 Encoder & Decoder

Encode plain text (including full UTF-8 Unicode and emojis) to Base64 or decode Base64 strings back to readable text with error validation.

Safe Parser

HTML Minifier

Minify HTML code conservatively by stripping safe comments and collapsing inter-tag whitespace while preserving <pre>, <textarea>, <script>, and <style> blocks.

Tokenizer

CSS Minifier

Compress CSS stylesheets using a string-aware tokenizer that removes comments and redundant whitespace without breaking calc(), strings, or data URIs.

Optional Ad Placement Area (Disabled by Default)