SmartConvert logoSmartConvert

URL Encoder & Decoder

Encode and decode URLs or URI components instantly in your browser.

Runs locally in your browser — no upload.

Free Online URL Encoder & Decoder

Percent-encoded strings are everywhere once you look: query parameters full of %20, tracking links mangled by escaping rules, API paths that break on a single unescaped ampersand. Whether you are building a query string, debugging analytics links or restoring a URL to something human-readable, this encoder/decoder handles both directions instantly.

Two scopes cover every use case. Component mode escapes all reserved characters — spaces, ampersands, slashes, emoji, everything — producing values that are safe to embed inside another URL, exactly what JavaScript's encodeURIComponent does for query parameters and path segments. Full URL mode preserves structural characters like ://, ? and &, so a complete link stays navigable while unsafe characters still get properly escaped. Decoding supports the same two scopes in reverse, restoring original text from percent-sequences including multi-byte UTF-8 input like Chinese, Arabic and emoji.

Conversion runs live as you type with character counts and inline validation, and everything executes locally in your browser — no requests leave your machine, so encoded content of any sensitivity stays private.

Encoded strings rarely travel alone. JWT segments are base64url, query parameters often carry Base64 payloads, and both end up inside JSON bodies — Base64 Encoder & Decoder and JWT Decoder cover the other two layers, while JSON Formatter & Validator checks the document they arrived in.

How to Use This Tool

  1. Pick a mode — Encode or Decode, then Component or Full URL scope.
  2. Enter your text — type or paste into the left panel; results appear immediately on the right.
  3. Copy — grab the result with one click, ready for your code, spreadsheet or address bar.

Benefits

  • Both directions — encode and decode with instant live feedback.
  • Two scopes — component-level safety or structure-preserving full URLs.
  • Full Unicode support — UTF-8 text, emoji and CJK characters handled correctly.
  • Inline validation — malformed percent-sequences are caught with clear errors.
  • Free and local — unlimited conversions, zero uploads.

Frequently Asked Questions

URL encoding (percent-encoding) replaces unsafe characters with a % followed by their hexadecimal byte value — for example, a space becomes %20 and an ampersand becomes %26. It guarantees that URLs and query parameters survive transport intact, since some characters have special meaning inside a URL.

Component mode (like JavaScript's encodeURIComponent) escapes every reserved character, which is what you want for individual values such as query parameters. Full URL mode preserves structural characters like ://?&= so a complete link stays navigable while spaces and non-ASCII characters still get encoded.

Whenever you receive encoded data and need to read it: query strings logged by your server, tracking parameters, API responses containing %20-style text, or links shared through systems that escaped them. Paste the string here to restore the original characters.

Yes. Text is treated as UTF-8, so Chinese, Arabic, accented letters and emoji all encode to valid percent-sequences and decode back exactly as they were.

encodeURI escapes a complete URL while leaving structural characters like ://?&= intact — that matches this tool's Full URL mode. encodeURIComponent escapes everything reserved, which is what you want for individual query values — that matches Component mode. Picking the wrong one is the most common cause of double-encoded or broken links.

Yes — free, unlimited, and fully local. Encoding and decoding happen in your browser; nothing is uploaded or stored.