URL Encoder / Decoder

Encode special characters for URLs or decode percent-encoded strings.

Text Input0 B
URL-Encoded Output
0 B

About URL Encoding

What is URL Encoding?

URL encoding (percent-encoding) converts special characters into a format that can be safely transmitted in URLs. Characters like spaces, &, =, ?, and non-ASCII characters are replaced with %XX hex values. This is essential for query parameters, form submissions, and API requests.

How to Encode URLs Online

Paste your text or URL, click Encode, and get the percent-encoded version. Switch to Decode mode to convert encoded strings back to readable text. The tool uses JavaScript's encodeURIComponent for standard-compliant encoding.

When to Use URL Encoding

Use URL encoding when passing user input as query parameters, when building API request URLs with special characters, when encoding form data for POST requests, and when embedding data in URLs that contain reserved characters like &, =, or #.

Frequently Asked Questions