URL Encoder / Decoder

Encode and decode URLs instantly. Your text never leaves your browser.

100% Private Instant Free Forever

Encode or Decode URL

Drop a text file here
0 chars 0 lines
Also encodes ! ' ( ) *

No output yet

Paste a URL or text and click Encode or Decode to get started.

0 chars0 lines

What this tool does not do

  • Uses encodeURIComponent (component encoding) by default. Enable Strict mode for full RFC 3986 compliance.
  • Detects likely double-encoded input and warns before encoding.
  • Validates percent sequences on decode and rejects malformed input.

How It Works

1

Paste your URL

Enter or paste any URL or text into the input area.

2

Click Encode or Decode

Convert special characters to URL-safe format or decode them.

3

Copy or download

Grab the result instantly or save it as a file.

Frequently Asked Questions

What is URL encoding?

URL encoding converts special characters into a format that can be safely transmitted in URLs. For example, spaces become %20 and & becomes %26.

When do I need to encode a URL?

You need to encode URLs when they contain special characters like spaces, ampersands, question marks, hashes, or non-ASCII characters.

What is the difference between encodeURIComponent and encodeURI?

encodeURIComponent escapes all special characters. encodeURI preserves characters that have special meaning in URIs like /, ?, &, #.

Is my text uploaded to a server?

No. All processing happens entirely in your browser. Your text never leaves your device.

Read Guide: How to Encode/Decode URLs ➔