Encode text to URL-encoded format (percent-encoding) or decode it back. Supports full URL and URI component modes, ideal for API development and web debugging.
URL encoding (percent-encoding) converts characters that are not allowed in URLs (like spaces, Chinese characters, or symbols) into a %XX format. For example, a space becomes %20.
When passing user input as query parameters, constructing URLs programmatically, or handling form data submissions.
URL encoding (percent-encoding) converts special characters to %XX format for safe transmission in URLs. Base64 encodes binary data as ASCII text for transmission in text-based protocols. Use URL encoding for query parameters and form data; use Base64 for encoding binary content like files or images.
URL encoding (%XX) is specifically for escaping unsafe characters in URLs, converting bytes to % followed by hex digits to keep the URL syntactically valid (e.g., space -> %20, Chinese characters -> %E4%B8%AD). Base64 encodes arbitrary binary data to 64 printable characters for transport over text protocols, increasing size by ~33%. URL encoding is for URL parameters; Base64 is used for data URIs, API authentication, and email attachments.