- JSON Formatter/Viewer
Format, minify, visualize and validate JSON.
- JSON Diff
Compare two JSON objects.
- JSON Schema Validator
Validate JSON schema online
- Base64 Encode/Decode
Encode and decode Base64.
- URL Encode/Decode
Encode and decode URL.
- UUID Generator v4 / v1
Generate UUIDs in v4 and other versions.
- Text Hash
Generate cryptographic hashes from your text input using a wide variety of algorithms.
- File Hash
Generate cryptographic hashes from your file using a wide variety of algorithms.
- JWT Decoder & Validator
Decode and validate JSON Web Tokens.
- CSV Viewer
View CSV data in a table.
- CSV to JSON Converter
Convert CSV to JSON.
- JSON to CSV Converter
Convert JSON to CSV.
Base64 Encode/Decode
Encode and decode Base64.
How to use our Base64 Tool
Our Base64 Tool allows you to perform Base64 encoding and decoding with ease. To use it, simply input your text in the provided text area, and then click on the 'Encode' button to convert the text into a Base64 string. Alternatively, input a Base64 string and then click on the 'Decode' button to convert it back into the original text.
Understanding Base64 Encoding
Base64 is a binary-to-text encoding scheme that is commonly used when there is a need to encode binary data, especially when that data needs to be stored and transferred over media that is designed to deal with text. It ensures that the data remains intact without modification during transport. Base64 is used commonly in a number of applications including email via MIME, as well as storing complex data in XML or JSON.
You can learn more about Base64 on Wikipedia.
Error Handling
If you input an invalid Base64 string for decoding, the tool will display an error message. To resolve this, ensure that your Base64 string is correctly formatted. A valid Base64 string should only contain characters from the Base64 alphabet: A-Z, a-z, 0-9, +, / and = (padding character).
Note: The tool uses the JavaScript btoa() function for Base64 encoding and atob() function for decoding. The input string for encoding is treated as a raw string of bytes, and the encoded output is a Base64 encoded ASCII string. For decoding, the input should be a Base64 encoded ASCII string, and the output will be the decoded raw string of bytes.