Base64 Encoder / Decoder vs Hash Generator
encoding
Base64 Encoder / Decoder
Encode text or data to Base64, or decode Base64 back to plain text.
Encode any UTF-8 string to Base64 or decode a Base64 string back to plain text. Supports standard Base64 (RFC 4648) and URL-safe Base64 (uses - and _ instead of + and /). Detects and reports malformed input.
Example input:
{
"input": "Hello, World!",
"mode": "encode",
"charset": "standard"
}cryptography
Hash Generator
Generate MD5, SHA-1, SHA-256, SHA-384, or SHA-512 hashes from any text input.
Compute cryptographic hashes of any UTF-8 string using the most common algorithms: MD5, SHA-1, SHA-256, SHA-384, and SHA-512. Output is a lowercase hex or base64 digest. Useful for verifying data integrity, generating checksums, and working with APIs that require signed requests.
Example input:
{
"input": "Hello, World!",
"algorithm": "sha256",
"encoding": "hex"
}| Feature | Base64 Encoder / Decoder | Hash Generator |
|---|---|---|
| Category | encoding | cryptography |
| Inputs | input, mode, charset | input, algorithm, encoding |
| Outputs | output, valid, encoding, byte_length, error | hash, algorithm, encoding, input_byte_length, digest_length |