URL Encoder/Decoder

Online URL Encode/Decode tool supporting component encoding, full URL encoding, and application/x-www-form-urlencoded format.

Mode Selection

Encoding Mode

!<strong>Encode URI Component</strong>: The most common encoding method. Escapes all characters except <code>A-Z a-z 0-9 - _ . ! ~ * ' ( )</code>. Typically used for encoding URL parameter values. Spaces are encoded as <code>%20</code>.

!<strong>Encode URI (Full URL)</strong>: Used to encode an entire URL. Does not escape URL-reserved characters (like <code>: / ? # & =</code>), preserving URL structure. Spaces are encoded as <code>%20</code>.

!<strong>Form Data (Plus)</strong>: Similar to <code>application/x-www-form-urlencoded</code> MIME type. The key difference is that <strong>spaces are encoded as <code>+</code></strong> instead of <code>%20</code>. Common in HTML form submissions.

URL Encoding Mode Differences

  • !Encode URI Component: The most common encoding method. Escapes all characters except A-Z a-z 0-9 - _ . ! ~ * ' ( ). Typically used for encoding URL parameter values. Spaces are encoded as %20.
  • !Encode URI (Full URL): Used to encode an entire URL. Does not escape URL-reserved characters (like : / ? # & =), preserving URL structure. Spaces are encoded as %20.
  • !Form Data (Plus): Similar to application/x-www-form-urlencoded MIME type. The key difference is that spaces are encoded as + instead of %20. Common in HTML form submissions.

Usage Guide

Features

Online URL encoding/decoding tool supporting three modes: Component (URIComponent), Full URL (URI), and Form Data (x-www-form-urlencoded), with free switching between encode and decode.

Steps

Select encoding mode, enter text in the input area, click "Encode" or "Decode" to see the result, with one-click copy support.

Notes

Decode failure shows error messages; Full URL mode does not escape URL reserved characters, suitable for entire URLs; Form Data mode encodes spaces as +, commonly used in form submissions.