Examples
Input:
https://www.starrytool.com
Click the encode button to output:
https%3A%2F%2Fwww.starrytool.com
About the Online URL Encode/Decode Converter
Use this tool to encode plain text or URLs into a URL-safe percent-encoded format, or decode percent-encoded text back into a readable form. It is useful for URL paths, query strings, form values, redirect links, and text that contains spaces, reserved characters, or non-ASCII characters.
URL encoding, also called percent-encoding, replaces characters that need special handling in a URL with a percent sign (%) followed by hexadecimal values. For example, spaces, ampersands, hash signs, and non-English characters may need to be encoded so they are interpreted correctly inside a URL.
URL decoding reverses that process. It converts percent-encoded sequences such as %3A, %2F, and %20 back into readable characters.
• Features
Encode plain text, full URLs, URL components, and query string values into percent-encoded text.
Decode percent-encoded URLs or strings back into readable text.
Process each line separately when you need to encode or decode multiple values at once.
Copy the converted result for use in links, forms, code, APIs, or debugging.
• Common Uses
Prepare query string values that contain spaces, symbols, or multilingual text.
Decode copied URLs to inspect readable parameters and redirect targets.
Convert form data, API parameters, tracking links, and generated URLs into the format expected by browsers and servers.
Check how reserved URL characters such as &, #, ?, /, =, and % are represented after encoding.
• Note
URL encoding is a formatting method, not encryption. It is reversible, and encoded URLs should not be used to hide passwords, tokens, or other sensitive information.