Loading...
Loading...
We use cookies to enhance your experience, analyze site usage, and serve personalized content. By clicking "Accept All," you consent to our use of cookies. See our Cookie Policy and Privacy Policy for details.
Encode and decode URLs and URL components online free
URL encoder and decoder supporting component-level encoding (encodeURIComponent) and full-URL encoding (encodeURI). Offers 3 character set options: all characters, unreserved only, or custom selection. Includes auto-detection of whether the input is encoded or plain, multiple output displays (encoded, decoded, component-encoded), URL validation, a special character reference table, and a history of the last 50 URL conversions.
Manually encoding or decoding URLs is error-prone, especially when dealing with special characters, non-ASCII text, or nested encoding. This tool provides all encoding variants alongside validation and reference material so developers can see exactly how their URL is transformed.
Web developers, API testers, QA engineers, and anyone who constructs or debug URLs containing query strings, paths, or user-submitted values.
Paste a URL or string into the input area — the tool auto-detects if it is encoded or plain text.
Select the encoding mode: Encode (plain → encoded) or Decode (encoded → plain).
Choose the character set: All Characters, Unreserved Only (letters, digits, -._~), or Custom (select specific chars to encode).
Choose encoded output type: Full URL (encodeURI) or Component Only (encodeURIComponent).
Review the results panel showing the encoded/decoded output, the original input, and the component-encoded version.
Use the Special Characters reference table to look up the percent-encoding for any ASCII or Unicode character.
Input: "hello world & goodbye" with Encode, Component Only → Output: "hello%20world%20%26%20goodbye"Input: "https://example.com/search?q=cat%20food" with Decode, auto-detect → Output: "https://example.com/search?q=cat food"but you need to decode it multiple times until no %xx sequences remain.
Unicode characters are encoded as UTF-8 byte sequences (e.g., ñ → %C3%B1).
Encode and decode Base64 strings online free
Convert images to Base64 encoded strings for embedding in HTML/CSS
Escape and unescape strings for JavaScript, JSON, HTML, URL, and more
Encode and decode HTML entities for web development
Dive deeper with our comprehensive guides and tutorials.