ArcanaTools

URL Encoder/Decoder

Encode or decode URL components and full URLs.

Input
Enter text to encode

Encodes all special characters (for query params, path segments)

Output
URL-encoded result

About URL Encoding

Features

  • Component Encoding: Encode all special characters
  • Full URL Encoding: Preserve URL structure
  • Bidirectional: Encode and decode with one click
  • Unicode Support: Handle international characters

Common Use Cases

  • Query Parameters: Encode values for URL queries
  • API Requests: Properly format request URLs
  • Debugging: Decode URLs to inspect values
  • Data Transfer: Safely transmit special characters

Component vs Full URL

encodeURIComponent

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

Use for: query string values, path segments

encodeURI

Preserves URL-specific characters: : / ? # [ ] @ ! $ & ' ( ) * + , ; =

Use for: encoding complete URLs

Related Tools

Convert text to URL-friendly slugs
Encode text to Base64 or decode Base64 strings