From one wide table to clean tables

Which normal form
is your table in

List the columns of a table and the dependencies between them, such as StudentID determines StudentName. The page finds the candidate keys, names the highest normal form the design meets, points at each dependency that breaks the next one and proposes a split into tables.

$9.99a month · everything on Caveat

Cancel anytime. How plans and refunds work

Included with Caveat Plus ($9.99 a month or $99.90 a year), Caveat Family (up to 5 people, $14.99 a month) and Caveat Teams (25 people, $199 a month). Anything you bought before stays yours.

Enter your figures and read the result

List the columns, then one dependency per line. The worked example is an invented course registration table.

Loading Database Normalization Inspector. If nothing appears, turn on JavaScript.

What you get

Teaching · For TeachersIncluded with Caveat Plus

What you finish with
A worked-out result for your own entry (a headline figure, tiles, tables and a drawing where one helps), as a printout, a spreadsheet (.csv) or a saved file.
Who it is for
Students and teachers of database design, and anyone tidying a wide spreadsheet that repeats the same facts on many rows.
Format
Browser tool for a phone, tablet or computer: type or paste, the result updates as you type. Print, spreadsheet (.csv), save to a file and open it again.
Access
Included with Caveat Plus ($9.99 a month) and Caveat Teams. It opens once you are signed in, on every device. Anything you bought before stays yours.
Where it lives
The For Teachers space in Caveat Teaching.
Support
Questions about access, an order or a correction: team@caveatacademic.com.

How to use it

  1. Load the worked example to see how it reads, or start with your own entry.
  2. Type or paste into the fields; the result updates as you type.
  3. Read the headline, the tiles and the tables.
  4. Try a second case from the buttons above the fields.
  5. Print the result, download a spreadsheet or save the entry to a file.

Inspect a table design

How it works

The worked example from a wide table to four tables.

Why split a table

When a course title is stored on every enrollment row, one correction has to be made many times, and a missed row leaves two titles for one course. Splitting so that each fact is stored once removes that risk.

Where this stops

The page works from the dependencies you give it. It cannot know that two columns are really the same fact or that a rule of your school makes a dependency true. Writing the dependencies down is the real design work.

Sources

  1. Codd, E. F. (1970). A relational model of data for large shared data banks. Communications of the ACM, 13(6), 377-387.
  2. Silberschatz, A., Korth, H. F., & Sudarshan, S. Database System Concepts (7th ed.), McGraw-Hill, chapter on relational database design.
  3. Bernstein, P. A. (1976). Synthesizing third normal form relations from functional dependencies. ACM Transactions on Database Systems, 1(4), 277-298.

The worked examples are invented for illustration. What you type is saved only in this browser and is never sent to Caveat. Support: team@caveatacademic.com.

Written with AI, then checked before it is published. How we checkFound a mistake? Report it and we fix it, or refund you.Cancel anytime.