URL Encoder/Decoder

Encode and decode URLs and query strings online. Supports encodeURIComponent, space as plus, and Unicode.

Input

Mode

Options

Output

✨ Features

  • ✅ Encode URLs and query strings
  • ✅ Decode URL-encoded text
  • ✅ Support for encodeURIComponent and encodeURI
  • ✅ Space encoding as %20 or +
  • ✅ Handle Unicode and special characters
  • ✅ Validate URL encoding sequences
  • ✅ File upload and download support
  • ✅ Copy to clipboard with one click

📖 How to Use

  1. Enter a URL or text in the input field
  2. Choose "Encode" or "Decode" mode
  3. Select encoding mode and space handling
  4. Click "Convert" to process
  5. Copy the result or download as a file

❓ FAQ

What's the difference between encodeURIComponent and encodeURI?

encodeURIComponent encodes everything except unreserved characters. encodeURI preserves URL structure characters like : / ? # [ ] @ ! $ ' ( ) * + , ; =

When should I use "Space as +"?

Use this for form data (application/x-www-form-urlencoded). For regular URLs, spaces are encoded as %20.

What does "+ as space" do?

When decoding, this converts + characters to spaces. This is useful for form data that was encoded with spaces as +.

Can I encode query strings?

Yes! You can encode individual query parameters. Use encodeURIComponent mode for parameter values.

Can I upload files?

Yes! Upload text files or URL-encoded files to encode or decode their contents.

Is my data private?

Yes! All processing happens in your browser. We don't send or store your data.

What characters are encoded?

encodeURIComponent encodes all characters except: A-Z a-z 0-9 - _ . ! ~ * ' ( )

Can I use this offline?

Yes! Once the page loads, all processing happens in your browser without internet connection.