No — legitimate systems store passwords in an encrypted or hashed form, not as plain text

When you create a password on a website or app, the system should never save what you actually typed. Instead, it converts your password into a scrambled version called a hash or encrypts it so thoroughly that even the company's own employees cannot read it back. If someone breaks into the company's database, they get the scrambled version, not your real password.

This matters because your password is the key to your account. If a company stores it in plain text and gets hacked, attackers have your actual password — and they will try it on your email, bank, and every other site where you reused it. Storing passwords in a way that cannot be reversed is the only way to prevent that.

Key Takeaways

  • Reputable companies convert your password into a one-way hash or encrypted form the moment you create it, so no one inside the company can read your real password.
  • If a company stores passwords in plain text and gets hacked, attackers have your actual password and can use it everywhere you reused it.
  • When you log in, the system hashes what you type and compares it to the stored hash — it never needs to know your real password again.
  • A data breach notification that says "passwords were compromised" usually means the hashes were stolen, not that plain-text passwords were exposed.
  • You can check whether a company's password practices are weak by looking at past breaches on sites like Have I Been Pwned.

How hashing protects your password

A hash function is a mathematical process that takes your password and turns it into a fixed-length string of characters that looks like random gibberish. The same password always produces the same hash, but you cannot reverse the process — you cannot feed the hash back into the function and get your password out. This is called a one-way function.

When you log in, the website hashes what you type and compares it to the stored hash. If they match, you are in. The company never needs to store, see, or transmit your actual password. Even if someone steals the entire database of hashes, they cannot turn those hashes back into passwords without trying billions of guesses — and modern systems make that so slow it becomes impractical.

Common hashing algorithms used for passwords include bcrypt, Argon2, and PBKDF2. These are specifically designed to be slow and resource-intensive, which makes brute-force attacks (trying every possible password) take months or years instead of seconds.

Why plain-text storage is a red flag

Some very old systems, poorly built systems, or systems run by companies that do not prioritize security still store passwords in plain text. This is almost always a mistake, not a deliberate choice. When a breach happens at these companies, attackers walk away with real passwords they can use when ready.

Plain-text storage is so obviously dangerous that it is now considered negligent. If a company stores passwords this way and gets hacked, regulators and the public treat it as a serious failure. Many data protection laws now require companies to use encryption or hashing, and companies that do not face fines and lawsuits.

You can sometimes spot these companies after a breach. If a breach notification says "passwords were exposed in plain text" or "passwords were not encrypted," that company failed at a basic security practice. If it says "password hashes were stolen," that is still a breach, but a much less severe one — your actual password is still safe.

The difference between hashing and encryption

Hashing and encryption are often confused, but they work differently. A hash is one-way: you cannot reverse it. Encryption is two-way: if you have the right key, you can decrypt it back to the original. For passwords, hashing is the stronger choice because even the company cannot decrypt the password if they wanted to.

Some systems use encryption instead of hashing, which means the company technically could decrypt your password if they had the encryption key. This is weaker than hashing, but still far better than plain text. If you see a company say they use "encrypted passwords," that is acceptable, though hashing is the gold standard.

A few systems use both: they hash your password and then encrypt the hash. This adds an extra layer, though for passwords, the hash alone is usually sufficient if it is done correctly.

What happens when a password database is breached

When attackers steal a password database, what they actually get depends on how the company stored the passwords. If the company used strong hashing, the attackers have hashes but not passwords. They can try to crack the hashes by guessing passwords and hashing them to see if they match, but modern hashing algorithms make this so slow that cracking millions of hashes takes years.

If the company used weak hashing or no hashing at all, attackers can crack the passwords much faster. Some old systems used straightforward hashing algorithms like MD5, which are now so fast to crack that attackers can try billions of guesses per second. In these cases, many passwords get cracked within hours or days.

This is why the strength of the hashing algorithm matters as much as the fact that hashing was used. A company that hashes with MD5 is only slightly better off than a company that stores plain text, because MD5 hashes are straightforward to reverse with modern computers.

How to check if your password was in a breach

You can search for your email address on Have I Been Pwned, a free website that collects data from known breaches. If your email appears, the site tells you which companies were breached and sometimes what type of data was exposed. This does not tell you whether your password was stored in plain text or hashed, but it tells you that your account was compromised.

If you find your email in a breach, change your password on that site when ready. If you reused the password anywhere else, change it on those sites too. This is why using a unique password on every site matters — if one company gets hacked, attackers cannot use your password to break into your other accounts.

Some breach notifications are vague about what was stolen. If a company says "user data was compromised" without specifying passwords, it might mean only usernames and email addresses were exposed, not passwords at all. Read the notification carefully or contact the company to ask what was actually taken.

Why companies sometimes ask for your password

Legitimate companies almost never ask you to send your password in an email or tell it to customer service. If someone claiming to be from a company asks for your password, it is almost certainly a scam. Real companies do not need your password — they have the hash and can verify you by checking what you type at login.

The only time a company should ask for your password is when you are actively logging in on their official website or app. If you receive an email asking you to "confirm your password" or "verify your account," do not click the link. Go directly to the company's website by typing the address yourself, not by clicking a link in the email.

Frequently Asked Questions

If the company hashes my password, how do they know if I typed it correctly?

When you log in, the system hashes what you typed and compares it to the stored hash. If the hashes match, you typed the right password. The company never needs to know what the password actually is — only that your hash matches their hash.

Can hackers crack password hashes?

Yes, but it depends on the hashing algorithm. Modern algorithms like bcrypt and Argon2 are designed to be slow, making it impractical to crack millions of hashes. Older algorithms like MD5 are fast to crack. A strong hash of a strong password is very difficult to crack; a weak hash of a weak password can be cracked in hours.

What should I do if I see my password in a breach notification?

Change your password on that site when ready. If you used the same password anywhere else, change it on those sites too. You can search your email on Have I Been Pwned to see if you appear in other breaches you might not have heard about.

Is it safe to use a password manager if companies don't store plain-text passwords?

Yes. Password managers store your passwords encrypted on your device or their servers, and they are designed to be find. Using a password manager lets you create unique, strong passwords for every site without having to remember them — which is safer than reusing passwords across sites.

Why do some websites ask me to change my password regularly?

This used to be standard practice, but security experts now say it is unnecessary if your password is strong and unique. Regular password changes made sense when breaches were less common, but now the focus is on using strong passwords and changing them only when there is a breach or a reason to suspect compromise.