Generatore di hash SHA-256
Calcola l’hash di testo UTF-8 in locale. Un hash semplice non è una cifratura né un metodo adatto a memorizzare password.
Dati
Suggerimento: premi Ctrl + Enter per eseguire
Impostazioni salvate
Per ora la guida dettagliata qui sotto è disponibile solo in inglese.
Informazioni su questo strumento
A SHA-256 hash is a 64-character fingerprint of data: the same input always gives the same hash, and the slightest change gives a completely different one. Developers use it to compare values, build cache keys, check API signatures and create test vectors. This tool hashes the UTF-8 bytes of the text you enter, locally in your browser.
A plain hash is not encryption and should not be used on its own to store passwords; use a slow password-hashing algorithm such as Argon2, scrypt or bcrypt for that.
Come si usa
- Paste or type the text to hash, exactly as it should be hashed.
- Run the tool.
- Copy the lowercase hexadecimal hash.
- To hash a file instead of text, use the file hash checker.
Come funziona il calcolo
The text is encoded as UTF-8 and passed to the Web Crypto API’s SHA-256 digest. The 32-byte result is written as 64 lowercase hexadecimal characters.
SHA-256(UTF-8)Esempio pratico
The pangram "The quick brown fox jumps over the lazy dog" hashes to d7a8fbb307d7809469ca9abcb0082e4f8d5651e46d3cdb762d02d0bf37c9e592, the published test value. Adding a full stop at the end produces an entirely different hash.
Esempio di input e risultato
hello → 2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824
Limiti
- Text input only; files use the file hash checker.
- SHA-256 only.
- Up to 100,000 characters.
Ultimo aggiornamento:
Domande frequenti
Can a SHA-256 hash be reversed?
Not directly, but short or common inputs can be found by guessing. Never rely on a plain hash to hide a password or a phone number.
Why does my hash differ from another tool?
Invisible differences such as a trailing newline, a different line ending or a different text encoding change the hash.
Is this HMAC?
No. HMAC combines a secret key with the message; this is a plain hash.
Risoluzione dei problemi
My command-line hash is different.
echo adds a newline. Use echo -n or printf to hash exactly the same text.
The hash changes when I paste from Word.
Word may insert smart quotes or non-breaking spaces. Paste as plain text.
I need a hash of a password for a database.
Use a password-hashing function with salt (Argon2, scrypt, bcrypt) in your application, not plain SHA-256.
Privacy & Gratuito
I miei dati vengono salvati?
I tuoi dati restano in questa scheda. Non riceviamo i tuoi file, i testi incollati né i valori dei calcoli.
Questo strumento è gratuito?
Sì. Non servono registrazione né pagamento.
Vedi anche
Passi successivi utili
Formattatore e validatore JSON
Valida, formatta o minimizza JSON in locale. I dati non validi non vengono mai inviati a un server.
Sviluppo e SEOConvertitore da CSV a JSON
Converti intestazioni e record CSV in JSON, con delimitatori tra virgolette e a capo.
Sviluppo e SEOConvertitore da JSON a CSV
Converti un array piatto di oggetti in CSV. Le stringhe simili a formule ricevono un prefisso protettivo per i fogli di calcolo.
Sviluppo e SEO