Developer

Free Online URL Encoder / Decoder

Encode and decode URLs, query strings, and Base64URL instantly. Handles special characters, Unicode, and percent-encoding.

Runs entirely in your browser — no data is uploaded.

What is URL Encoder / Decoder?

URL Encoder / Decoder converts text to and from URL-safe formats. It supports three encoding modes: Component (encodeURIComponent), Full URL (encodeURI), and Base64URL.

How to use

  1. Choose an encoding mode: Component, Full URL, or Base64URL
  2. Select Encode or Decode
  3. Paste or type your text
  4. The result updates in real time
  5. Use the Swap button to reverse input/output

Encoding modes

  • Component — Uses encodeURIComponent / decodeURIComponent. Encodes all special characters including / ? & =. Use this for query parameter values.
  • Full URL — Uses encodeURI / decodeURI. Preserves URL structure characters like ://, /, ?, &. Use this for complete URLs with spaces or Unicode.
  • Base64URL — Encodes text to URL-safe Base64 (RFC 4648 §5). Uses - and _ instead of + and /, no padding. Common in JWTs and API tokens.

Common use cases

  • Encoding query parameters with special characters
  • Making URLs safe for sharing (spaces, emoji, non-ASCII characters)
  • Decoding percent-encoded URLs from logs or analytics
  • Working with JWT tokens (Base64URL segments)
  • Debugging API requests with encoded parameters

Limitations

  • Maximum input: 500,000 characters
  • Text-only (no file upload)
  • Does not parse or validate full URL structure

Cookies for ads only

Tool data never leaves your browser. We use cookies only for Google AdSense. Privacy.