HomeCoding ToolsURL Encoder / Decoder

URL Encoder / Decoder

Encode special characters in URLs or decode percent-encoded URLs back to readable text.

About this tool

URL encoding (percent-encoding) converts characters that are not allowed or have special meaning in URLs into a safe format using a percent sign followed by two hexadecimal digits. For example, a space becomes %20 and an ampersand becomes %26. This ensures that query strings and path parameters are transmitted correctly by browsers and servers.

This tool encodes raw text for safe inclusion in URLs, or decodes percent-encoded strings back to their human-readable form. This is invaluable when building or debugging API calls, constructing redirect URLs, reading encoded query strings from log files, or generating links with special characters.

URL encoding is distinct from HTML encoding — they solve different problems. URL encoding makes text safe for URIs, while HTML encoding makes text safe for HTML documents. Both are important in web development but should not be confused or used interchangeably.