ToolsForNerds

URL Encoder & Decoder

Encode URLs and decode URL-encoded strings for safe URL parameters and query strings

0 characters
0 characters

Common URL Encodings

space → %20
! → %21
# → %23
$ → %24
& → %26
' → %27
( → %28
) → %29
+ → %2B
, → %2C
/ → %2F
: → %3A
Tip: Use Component encoding for query parameters and form data. Use Full URL encoding when you want to preserve the URL structure (keep :, /, ? etc.).

About the URL Encoder & Decoder

Encode URLs and decode URL-encoded strings instantly. Essential for web development, API integration, and handling special characters in URLs safely.

Features:

  • URL encoding (percent-encoding)
  • URL decoding
  • Component encoding (for URL parameters)
  • Full URL encoding option
  • Swap input/output functionality
  • Copy to clipboard
  • Real-time encoding/decoding

Use Cases:

  • Encoding URL parameters with special characters
  • Building query strings for APIs
  • Decoding encoded URLs from logs
  • Email link generation
  • Safe URL sharing with special characters
  • Form data submission
  • RESTful API development

What Gets Encoded:

  • Spaces → %20
  • Special characters (!@#$%^&*)
  • Non-ASCII characters (Unicode)
  • Reserved URL characters (:/?#[]@)
  • Unsafe characters (<>"|\^`)

Encoding vs Component Encoding:

encodeURIComponent: Encodes all special characters except: A-Z a-z 0-9 - _ . ! ~ * ' ( )
encodeURI: Encodes fewer characters, preserving URL structure (:/? etc.)