Developer Tools

Hash Generator

Live

Generate a cryptographic digest for text using SHA-256, SHA-384, or SHA-512.

About Hash Generator

Generate a cryptographic digest for text using SHA-256, SHA-384, or SHA-512. Enter text to hash, hash algorithm, hexadecimal case in a purpose-built workspace that keeps related controls together and makes units explicit. The text is encoded as UTF-8 bytes and processed by the selected Web Crypto digest algorithm, then the resulting bytes are displayed in hexadecimal and Base64. The result panel reports hexadecimal digest, base64 digest, algorithm used, input byte count with copy-ready values and supporting context. A plain cryptographic hash is not suitable for storing passwords. Password storage requires a dedicated slow, salted password-hashing function such as Argon2, scrypt, bcrypt, or PBKDF2. Processing stays in your browser and the entered values are not sent to UtilityPages.

Set up Hash Generator

Workspace

Source workbench

Edit the source fields below and inspect the rendered output alongside your work.

Complete the fields to prepare a result.

Enter the exact text whose digest should be calculated.

Choose the hash algorithm that matches the calculation.

Choose the hexadecimal case that matches the calculation.

Hash Generator results

Enter the values above, then generate hash to see the result.

Hash Generator method

The text is encoded as UTF-8 bytes and processed by the selected Web Crypto digest algorithm, then the resulting bytes are displayed in hexadecimal and Base64.

How it works

The text is encoded as UTF-8 bytes and processed by the selected Web Crypto digest algorithm, then the resulting bytes are displayed in hexadecimal and Base64. A plain cryptographic hash is not suitable for storing passwords. Password storage requires a dedicated slow, salted password-hashing function such as Argon2, scrypt, bcrypt, or PBKDF2.

Examples

Hash Generator example

Example input
{
    "input": "UtilityPages",
    "algorithm": "SHA-256",
    "output_case": "lowercase"
}
Expected result
{
    "hex_digest": "84f1f48c10c02446db67a7a7c4c988d496e3c21bfb8c9dd290c34b9f2428fcf1",
    "base64_digest": "hPH0jBDAJEbbZ6enxMmI1Jbjwhv7jJ3SkMNLnyQo/PE=",
    "algorithm": "SHA-256",
    "input_bytes": 12
}

Privacy

This tool does not store your inputs or results on UtilityPages.org.

Frequently asked questions

How does the Hash Generator work?

The text is encoded as UTF-8 bytes and processed by the selected Web Crypto digest algorithm, then the resulting bytes are displayed in hexadecimal and Base64.

What information should I enter in the Hash Generator?

Enter text to hash, hash algorithm, hexadecimal case. Use values from the same scenario and keep measurement units consistent with the labels shown.

What results does the Hash Generator provide?

The result workspace reports hexadecimal digest, base64 digest, algorithm used, input byte count. Supporting values are included so the primary result can be checked and interpreted.

How exact is the Hash Generator?

A plain cryptographic hash is not suitable for storing passwords. Password storage requires a dedicated slow, salted password-hashing function such as Argon2, scrypt, bcrypt, or PBKDF2.