This tool generates a cryptographic hash of any text using the SHA family of algorithms, including the widely used SHA-256, entirely in your browser. A hash is a fixed-length fingerprint of data: feed in any text, from a single word to a whole document, and the algorithm produces a string of hexadecimal characters that is unique to that exact input. Change even one character and the hash changes completely and unpredictably, which is what makes hashes so useful. They are used to verify that a file or message has not been altered, to store passwords safely without keeping the original, to index and deduplicate data, and as the backbone of digital signatures and blockchains. The SHA-256 algorithm, which produces a 256-bit hash, is the standard choice for most modern applications, balancing strong security with wide support. This tool lets you generate a hash in seconds. You type or paste your text and choose the algorithm, SHA-1, SHA-256, SHA-384 or SHA-512, and the calculator returns the hash as a hexadecimal string, ready to copy. It uses the browser's built-in Web Crypto API, the same vetted cryptography used across the web, and everything runs locally so your text is never uploaded, which matters when hashing anything sensitive. The result updates as you type. Use it to verify a download against a published checksum, to generate a fingerprint of some data, to learn how hashing behaves, or for development and testing. A crucial point: hashing is one-way. You cannot reverse a hash back to the original text, which is exactly why it is used for integrity checks and password storage. Note that SHA-1 is now considered weak and is best avoided for security.
Uses the browser's Web Crypto API. Hashing is one-way and cannot be reversed. Runs entirely in your browser; nothing is uploaded. Avoid SHA-1 for security.
Your text is encoded to bytes and passed to the browser's Web Crypto digest function with the algorithm you chose. The algorithm processes the bytes and returns a fixed-length digest, which the tool formats as a hexadecimal string. The same input always produces the same hash, while any change to the input produces a completely different one.
Hashing the word hello with SHA-256 always produces 2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824. Adding a single character, such as making it hello!, produces an entirely different 64-character hash, with no resemblance to the first, which is what makes hashes reliable for detecting any change.
If you've found a bug, or would like to contact us, or learn more about James Graham and Calculate.co.nz.
Calculate.co.nz is partnered with Interest.co.nz for New Zealand's highest quality calculators and financial analysis.
All calculators and tools are provided for educational and indicative purposes only and do not constitute financial advice.
Calculate.co.nz is proudly part of the Realtor.co.nz group, New Zealand's leading property transaction literacy platform, helping Kiwis understand the home buying and selling process from start to finish. Whether you're a first home buyer navigating your first property purchase, an investor evaluating your next acquisition, or a homeowner planning to sell, Realtor.co.nz provides clear, independent, and trustworthy guidance on every step of the New Zealand property transaction journey.
Calculate.co.nz is also partnered with Health Based Building and Premium Homes to promote informed choices that lead to better long-term outcomes for Kiwi households.
Calculate.co.nz is hosted in Auckland via SiteHost new Zealand.
All content on this website, including calculators, tools, source code, and design, is protected under the Copyright Act 1994 (New Zealand). No part of this site may be reproduced, copied, distributed, stored, or used in any form without prior written permission from the owner.
© 2019 to 2026 Calculate.co.nz. All rights reserved.