---
title: "What is a rainbow table?"
term: "rainbow table"
description: "A rainbow table is a large precomputed table of hash values used to crack password hashes by looking up which original password produced a given hash, rather than computing hashes one guess at a time."
url: "https://glossary.io/rainbow-table/"
published: "2026-11-22T20:43:04.238Z"
updated: "2026-11-22T20:43:04.238Z"
topics:
  - "Privacy and security"
wikidata: "https://www.wikidata.org/wiki/Q1139146"
---

# What is a rainbow table?

**Definition:** A rainbow table is a large precomputed table of hash values used to crack password hashes by looking up which original password produced a given hash, rather than computing hashes one guess at a time.

Websites usually store passwords as hashes rather than plain text, so a stolen database doesn't directly reveal them. A rainbow table trades storage space for speed: an attacker prepares chains of [hash](https://glossary.io/hash-function/) values for huge numbers of possible passwords in advance, then uses them to reverse leaked hashes quickly, especially those made with fast hash functions and no salt.

The main defense is salting, which adds a unique random value to each password before hashing so precomputed tables become useless. Modern password storage also uses deliberately slow algorithms such as bcrypt, scrypt or Argon2. Privacy-focused analytics tools such as [Fathom Analytics](https://glossary.io/fathom-analytics/) use hashing with regularly changing salts so that visitor data can't easily be traced back to individuals.

## rainbow table resources

- [Rainbow table on Wikipedia](https://en.wikipedia.org/wiki/Rainbow_table)

## Related terms

- [Hash function](https://glossary.io/hash-function/)
- [Fathom Analytics](https://glossary.io/fathom-analytics/)

**Topic:** [Privacy and security](https://glossary.io/topics/privacy-security/)

## Cite this definition

- APA: What is a rainbow table? (2026, November 22). Glossary. https://glossary.io/rainbow-table/
- MLA: “What Is a Rainbow Table?” Glossary, Coywolf, 22 Nov. 2026, glossary.io/rainbow-table/.
- Chicago: “What Is a Rainbow Table?” Glossary. Coywolf. November 22, 2026. https://glossary.io/rainbow-table/.

Published November 22, 2026.
