URL Encoder/Decoder

Free Online URL Encoder/Decoder

A free online tool to encode and decode URLs, converting special characters to their percent-encoded representations and vice versa.

URL Component Encoder/Decoder
Use encodeURIComponent/decodeURIComponent for query parameters

How to Use This URL Encoder/Decoder

  • Encode Component: Encodes a URL component (like a query parameter value) using encodeURIComponent(). This encodes all special characters including
  • Decode Component: Decodes a URL component that was encoded with encodeURIComponent().
  • Encode Full URL: Encodes a complete URL using encodeURI(). This preserves special characters that have meaning in URLs (like
  • Decode Full URL: Decodes a complete URL that was encoded with encodeURI().
  • Copy to Clipboard: Easily copy encoded or decoded URLs to your clipboard.
  • Load Examples: See sample URLs to understand how encoding works.

Frequently Asked Questions

What is URL encoding?

URL encoding (also called percent-encoding) converts special characters in a URL to a format that can be safely transmitted over the internet. For example, spaces become %20, and special characters like & become %26.

When should I use URL encoding?

Use URL encoding when you need to include special characters, spaces, or non-ASCII characters in URLs. This is especially important for query parameters and path segments.

What characters are encoded in URLs?

Characters that are encoded include spaces, special characters like &, #, %, +, =, ?, and non-ASCII characters. Reserved characters like :, /, ?, #, [, ], @, !, $, &, ', (, ), *, +, ,, ;, and = are also encoded when used outside their special meaning.

Is this tool free to use?

Yes, our URL encoder/decoder is completely free to use. There are no registration requirements or usage limits.