Hash Generator

Options
Mode
Switch between hashing text or a file
Algorithm
MD5 for legacy; SHA-256/512 for modern use
Output
Text
The text is processed as UTF-8 before hashing

About the Hash Generator

Compute message digests for text or a file in your browser. This tool supports MD5, SHA-1, SHA-256, and SHA-512. Output can be Hex or Base64. No data leaves your device.

How to use

  • Choose a mode: Text or File.
  • Select an algorithm and output format.
  • Enter text or pick a file, then click the corresponding button.

Notes

  • MD5 and SHA-1 are weak for security; prefer SHA-256 or SHA-512 for integrity checks.
  • Text is hashed as UTF-8. Only file bytes are hashed (name and size are shown for context).
  • Very large files may be slow to process in the browser.