Encoder Decoder
Base64 Encoding and Decoding
Description: Base64 is a binary-to-text encoding scheme that converts binary data into an ASCII string format. It's commonly used to encode data in email attachments, data URIs, and other places where binary data needs to be represented in a textual form.
Example:
- Encoding:
- Hello World -> SGVsbG8gV29ybGQ=
- Decoding:
- SGVsbG8gV29ybGQ= -> Hello World
Base32 Encoding and Decoding
Description: Base32 is a binary-to-text encoding scheme that converts binary data into an ASCII string format. It's commonly used in QR codes and other contexts where a shorter, more human-readable format is beneficial.
Example:
- Encoding:
- Hello World -> JBSWY3DPEBLW64TMMQQQ====
- Decoding:
- JBSWY3DPEBLW64TMMQQQ==== -> Hello World
URL Encoding and Decoding
Description: URL encoding, also known as percent-encoding, is a method of encoding special characters in URLs to ensure they are transmitted correctly. Spaces are replaced with %20, and other non-ASCII characters are converted to a hexadecimal format.
Example:
- Encoding:
- Hello World -> Hello%20World
- Decoding:
- Hello%20World -> Hello World
HTML Encoding and Decoding
Description: HTML encoding converts special characters in HTML to their corresponding HTML entities. This prevents characters from being interpreted as HTML tags or entities, ensuring they are displayed correctly.
Example:
- Encoding:
- <script>alert('Hello World');</script> -> <script>alert('Hello World');</script>
- Decoding:
- <script>alert('Hello World');</script> -> <script>alert('Hello World');</script>