Webtools Code Tools URL Encoder

URL Encoder

Encode strings for safe use in URLs, or decode URL-encoded strings.

About the URL Encoder / Decoder

URL encoding (also called percent-encoding) converts characters that are not safe in a URL — such as spaces, &, =, and # — into their %XX equivalents. This tool encodes plain text into a URL-safe format and decodes percent-encoded strings back to their original form.

Common uses include encoding query string parameters before appending them to a URL, decoding encoded URLs from logs or redirects, preparing data for form submissions, and debugging HTTP requests. Use encode for input going into a URL; use decode when you receive a percent-encoded value and want to read it.