Convert data between different formats for web development, data transmission, and storage. Essential tools for handling Base64, URL encoding, HTML entities, and hexadecimal data.
Base64 encoding converts binary data into ASCII text format using a radix-64 representation. Essential for embedding binary data in text-based formats like JSON, XML, and HTML.
Original Text:
Hello, World!Base64 Encoded:
SGVsbG8sIFdvcmxkIQ==Decoded Back:
Hello, World!URL encoding (percent-encoding) converts characters into a format that can be safely transmitted over the internet in URLs. Special characters are converted to percent-encoded values.
Original:
Hello World! How are you?URL Encoded:
Hello%20World%21%20How%20are%20you%3FQuery Parameter Example:
https://example.com/search?q=Hello%20World%21%20%21%22%23%26%3FHTML encoding converts characters into HTML entities to prevent XSS attacks and display special characters correctly in web browsers. Essential for web security and proper HTML rendering.
Original:
<script>alert('Hello');</script>HTML Encoded:
<script>alert('Hello');</script>Special Characters:
Café & Restaurant → Café & Restaurant<>&"'Hexadecimal encoding represents binary data using base-16 notation with digits 0-9 and letters A-F. Commonly used in programming, color codes, and low-level data representation.
Text:
HelloHex Encoded:
48656c6c6fColor Code Example:
#FF5733 (Red: FF, Green: 57, Blue: 33)For URLs: URL encoding
For HTML content: HTML entity encoding
For binary data: Base64 encoding
For low-level data: Hexadecimal encoding
For email attachments: Base64
For CSS colors: Hexadecimal
For form submissions: URL encoding
For preventing XSS: HTML encoding