Encode text into a URL-safe format or decode a percent-encoded URL back to readable text. URLs can only contain a limited set of characters, so spaces, ampersands, question marks and non-ASCII characters must be percent-encoded (a space becomes %20, for example) to travel safely in a link or query string. This tool uses the same encoding rules browsers do, so it is reliable for building API requests, debugging redirect chains or cleaning up tracking-laden links. Choose encode or decode, paste your input, and copy the output. All processing happens in your browser, so nothing is logged or transmitted.
Percent-encoding replaces unsafe or reserved characters in a URL with a percent sign followed by two hex digits, for example a space becomes %20. It lets you put arbitrary text into URLs safely.
Reserved and unsafe characters such as spaces, question marks, ampersands, slashes and non-ASCII letters are encoded, while unreserved characters like letters, digits, hyphen, underscore, period and tilde are left as-is.
Decode when you receive a URL or query value full of percent codes and want to read the original text, for example turning %40 back into an at sign.
Encode text into a URL-safe format or decode a percent-encoded URL back to readable text. URLs can only contain a limited set of characters, so spaces, ampersands, question marks and non-ASCII characters must be percent-encoded (a space becomes %20, for example) to travel safely in a link or query string.
Yes. URL Encoder / Decoder is completely free, with no sign-up and no usage limits.
Yes. URL Encoder / Decoder runs in any modern web browser. There is nothing to download or install.
Yes. URL Encoder / Decoder runs entirely on your device in your browser, so nothing you enter is uploaded to a server.
Link this tool from a README, doc or site. The badge links back to this page.
[](https://yourhack.ai/url-encoder)