Encode and decode URLs instantly — convert special characters to percent-encoding.
URL Encoder / Decoder is a free online tool that converts special characters in URLs to their percent-encoded equivalents and back. URL encoding (also called percent-encoding) replaces unsafe characters with a percent sign followed by their hexadecimal value, ensuring URLs are valid and properly transmitted. The encoder handles all special characters including spaces, ampersands, question marks, hash symbols, and international characters. It supports both full URL encoding and component encoding, giving you control over which parts of the URL are encoded. The decoder reverses percent-encoded strings back to their readable form. URL encoding is essential for web development. Special characters in query parameters, form data, and API requests must be properly encoded to prevent parsing errors and security vulnerabilities. Improperly encoded URLs can break links, cause data loss, and create injection vulnerabilities. Everything runs entirely in your browser. Your URLs and data are never sent to any server, making it safe for encoding URLs containing API keys, session tokens, and sensitive parameters. There are no usage limits and no account required. Common use cases include encoding query parameters for API requests, preparing form data for submission, encoding redirect URLs, fixing broken links with special characters, encoding international domain names, and debugging URL-related issues in web applications. For related tools, check out the Base64 Encoder for binary-to-text encoding, or the Hash Generator for creating checksums of your data.