Main menu
Definition

Plaintext

Plaintext is unencrypted or decrypted alphanumeric words and messages. Learn how plaintext relates to ciphertext, how it differs from "plain text" files, and why storing or sending sensitive plaintext is a risk.

DTDevolutions Team·November 12, 2026·2 min read

What is plaintext?

Plaintext is data in its readable, original form before it is encrypted or after it has been decrypted. A password, an email message, a configuration file, or any other information is plaintext whenever it can be read without a key. In cryptography, plaintext is the input to an encryption algorithm.

How does plaintext relate to encryption?

Encryption converts plaintext into ciphertext using an algorithm and a key:

  1. The plaintext, such as "meeting at 10", goes into the cipher.
  2. The cipher and key produce ciphertext, which looks like random data.
  3. Someone with the right key decrypts the ciphertext back into the original plaintext.

Data often moves between the two states: it is encrypted on disk or in transit and decrypted into plaintext when an authorized user or process needs it. Protecting data means keeping it encrypted everywhere it does not need to be read.

Plaintext vs. plain text

"Plaintext" (one word) is the cryptography term for unencrypted data of any kind. "Plain text" (two words) usually refers to a file format with no formatting, such as a .txt file. A plain text file can contain ciphertext, and a formatted document can contain plaintext.

Why does plaintext matter?

Sensitive information in plaintext can be read by anyone who gets access to it. Common examples are passwords stored in spreadsheets, scripts, or notes, credentials sent over unencrypted protocols, and logs that record secrets. Moving those credentials into an encrypted vault and using encrypted protocols removes much of that exposure.

Plaintext also tends to spread: a password pasted into a chat, a ticket, or a shared document can be copied, forwarded, and stored in places nobody remembers to clean up.

Frequently asked questions

What is plaintext?

Plaintext is unencrypted or decrypted alphanumeric words and messages that can be read without a key.

What is the difference between plaintext and ciphertext?

Plaintext is readable data. Ciphertext is the scrambled result of encrypting plaintext, which can only be read after decryption with the right key.

Why shouldn't passwords be stored in plaintext?

Anyone who can read the file or database can use them. Passwords should be stored in an encrypted vault or, for systems that verify them, as salted hashes.

Get passwords out of plaintext files

Store, share, and govern credentials in one secure, encrypted place.

Explore Devolutions Password Manager

Related terms

Encryption

Encryption is the conversion of plaintext into ciphertext to safeguard the confidentiality of data during storage or transfer.

Read now →

One-way encryption

One-way encryption turns plaintext into ciphertext and stores it scrambled, in a form that cannot be unscrambled even if the cipher key is known.

Read now →

Password sniffing

Password sniffing is harvesting passwords by means of software that scans traffic on a network.

Read now →