What is this string? Identify a hash, encoding or cipher
Paste a hash, Base64, hex, a token or ciphertext. You see what it most likely is, whether it can be turned back, and which tool does it. Nothing leaves your browser.
Encrypted data (OpenSSL format)
The prefix U2FsdGVkX1 is Base64 for “Salted__”. This was encrypted with a password, most often AES-256-CBC. Without that password it stays unreadable.
Typical signs and what they mean
Most strings give themselves away by their characters, their length or a fixed prefix. Click “Try it” to see the check on an example.
| If your string … | it is most likely | Who can reverse it | Example |
|---|---|---|---|
Starts with U2FsdGVkX1 |
Encrypted with a password (OpenSSL), most often AES-256-CBC | With the key | |
Starts with $2y$, $2b$ or $2a$ |
bcrypt password hash | Never | |
Starts with eyJ, three parts with dots |
JSON Web Token (JWT): readable header and payload, signed | Anyone | |
32, 40, 64 or 128 characters, only 0–9 and a–f |
A hash such as MD5, SHA-1, SHA-256 or SHA-512 (see the table below) | Never | |
Only 0–9 and a–f, other length |
Hex: text or bytes written as two characters per byte | Anyone | |
Letters, digits, + /, often ends with = |
Base64, or ciphertext stored as Base64 | Anyone | |
Contains %20, %3D and the like |
URL encoding (percent-encoding) | Anyone | |
Groups of eight 0 and 1 |
Binary character codes (ASCII) | Anyone | |
| Dots and dashes | Morse code | Anyone | |
| Numbers from 1 to 26 | Letters as numbers (A=1 … Z=26) | Puzzle | |
| Letters, but no real words | A letter cipher such as ROT13, Caesar or Vigenère | Puzzle | |
N 52° 31.123 E 013° 24.456 |
GPS coordinates (geocaching format) | – |
Which hash has how many characters?
A hash always has the same length, no matter how long the input was. Written as hex, these are the lengths of all 60 hash algorithms on this site. The most common one per length is highlighted.
| Length | Algorithms |
|---|---|
| 8 hex characters 32 bit |
adler32, crc32, crc32b, crc32c, fnv132, fnv1a32, joaat, murmur3a, xxh32 |
| 16 hex characters 64 bit |
fnv164, fnv1a64, xxh64, xxh3 |
| 32 hex characters 128 bit |
md2, md4, md5, ripemd128, tiger128,3, tiger128,4, murmur3c, murmur3f, xxh128, haval128,3, haval128,4, haval128,5 |
| 40 hex characters 160 bit |
sha1, ripemd160, tiger160,3, tiger160,4, haval160,3, haval160,4, haval160,5 |
| 48 hex characters 192 bit |
tiger192,3, tiger192,4, haval192,3, haval192,4, haval192,5 |
| 56 hex characters 224 bit |
sha224, sha512/224, sha3-224, haval224,3, haval224,4, haval224,5 |
| 64 hex characters 256 bit |
sha256, sha512/256, sha3-256, ripemd256, snefru, snefru256, gost, gost-crypto, haval256,3, haval256,4, haval256,5 |
| 80 hex characters 320 bit |
ripemd320 |
| 96 hex characters 384 bit |
sha384, sha3-384 |
| 128 hex characters 512 bit |
sha512, sha3-512, whirlpool |
Questions about identifying strings
How do I find out what a string is?
Paste it into the box at the top. The tool checks the characters, the length and typical prefixes such as U2FsdGVkX1, $2y$ or eyJ. It tells you what the string most likely is, whether it can be turned back, and which tool does that.
What hash is this?
Count the characters. 32 hex characters is most often MD5, 40 is SHA-1, 64 is SHA-256 and 128 is SHA-512. Other algorithms have the same lengths, so the length alone is a strong hint, not proof. The table of hash lengths lists every algorithm on this site by length.
Can you decrypt an MD5 or SHA-256 hash?
No. A hash is a one-way fingerprint: there is no key and nothing to decrypt. Sites that "decrypt" hashes look them up in lists of hashes of known words and leaked passwords. That only works for short, common inputs. Read why a hash can't be decrypted.
How can I tell if a string is Base64?
Base64 uses only letters, digits, + and / (or - and _ in the URL-safe variant). The length is usually a multiple of four, and it often ends with one or two =. If decoding gives readable text, it was Base64-encoded text. If it gives random bytes, it is often ciphertext.
Is my string encrypted, hashed or just encoded?
Encoding changes only the format, and anyone can reverse it (Base64, hex, URL encoding). Encryption needs a key to reverse (AES, DES). A hash can't be reversed at all (MD5, SHA-256, bcrypt). The differences, explained side by side.
What does U2FsdGVkX1 at the start mean?
It is Base64 for the text Salted__. OpenSSL and CryptoJS write it in front of data encrypted with a password, most often with AES-256-CBC. You need that password to decrypt it.
What does a string starting with $2y$ or $2b$ mean?
It is a bcrypt password hash. The number after it, such as 10, is the cost factor. bcrypt is built to be one-way and slow, so it can only be checked against a password, never decrypted.
What does eyJ at the start of a string mean?
eyJ is Base64 for {", the start of a JSON object. Three such parts joined by dots are a JSON Web Token. Header and payload can be read by anyone. The third part is the signature. What is a JWT?
Is it safe to paste my string here?
The check runs entirely in your browser. Nothing you paste is sent to a server or stored. Still, treat real passwords and private keys with care and do not paste them anywhere you do not need to.