AY
Anyuan

URL Encoder / Decoder

Encode and decode uniform resource identifiers (URIs) or URI components.

Input
0 chars · 0 bytes · 1 lines
Output
0 chars · 0 bytesURL

About URL Encoding & Decoding

URL encoding, also known as Percent-encoding, is a mechanism for encoding information in a Uniform Resource Identifier (URI) under certain circumstances. It is mainly used to represent characters that are not allowed or have special meaning within URLs (such as spaces, question marks, and ampersands) by replacing them with a percentage sign followed by two hexadecimal digits.

How to use the URL Tool

1. Select Mode: Choose between Encode to escape a URL/components, or Decode to convert escaped URLs back to readable text.

2. Encode Component vs Full URL: Select Encode Component (escapes all special characters including slashes and query signs, ideal for query parameters) or Full URL (keeps scheme, host, and path structure intact).

3. Copy Output: Instantly copy the processed string to your clipboard for use in configuration or code.

Why do URLs need encoding?

URLs can only contain characters from the standard US-ASCII character set. Characters outside this set (like emoji, Chinese/Japanese characters) or special control characters within URLs must be escaped so that web servers and browsers can parse and transmit the request reliably without ambiguity.

Privacy first: Anyuan encodes and decodes URLs directly in your browser. Absolutely zero data is sent to external servers.