Skip to content
Back to Tools

URL Encoder/Decoder

Encode URLs for safe transmission or decode encoded URLs back to readable format.

Encode Mode

Input Text/URL

Encoded Output

Encoding Types Explained

Full Encoding (encodeURIComponent)

Encodes ALL special characters including:

  • Spaces → %20
  • Special chars → %21, %40, %23, etc.
  • Reserved chars → %2F, %3F, %3D, etc.
  • Unicode chars → %C3%A9, etc.

Use for: Query parameters, form data, individual URL components

Partial Encoding (encodeURI)

Encodes MOST special characters but preserves:

  • URL structure (/, ?, =, &)
  • Protocol (http://, https://)
  • Domain names
  • Basic path separators

Use for: Complete URLs, API endpoints, navigation links

Features

Full Encoding: encodeURIComponent for complete encoding
Partial Encoding: encodeURI for URL-safe encoding
Bidirectional: Encode and decode functionality
Sample Data: Load examples for testing