Free tool · no account, no upload

Free Codebook Generator

A free online codebook generator for researchers. Paste your variable list (from Excel, SPSS export, or a CSV) and get a clean, printable codebook (data dictionary) in seconds. Everything runs in your browser — nothing is sent anywhere.

1. Your variable list

First row should be column headers. Paste directly from Excel (copy a range, paste below) or upload an Excel (.xlsx) or CSV file. Needs at least a variable name and a description — type and value labels are optional.

Using LimeSurvey? Skip the variable list: the LimeSurvey codebook generator builds the codebook straight from your .lss file.

2. Match your columns

We guessed these — check them before generating.

Want this list to stay live, searchable, and connected to your actual database?

VarBook turns this into a real data dictionary — synced with your tables, searchable with medical synonyms, and shareable with your team.

See VarBook →

How to make a codebook from your variable list

  1. Paste or upload your variable list from Excel, SPSS or a CSV file, with one row per variable.
  2. Check the column matching: name, description, type and value labels are detected automatically.
  3. Generate and print a clean codebook, or save it as a PDF to share with your team or a data archive.

New to codebooks? Read the step-by-step guide How to create a codebook from an Excel variable list (Nederlands: codeboek maken), or what is the difference between a codebook and a data dictionary. Using LimeSurvey? The LimeSurvey codebook generator reads your .lss file directly.

Frequently asked questions

What columns does my variable list need?

At minimum a variable name and a description. Type, value labels (for example 1=Male; 2=Female) and missing-value codes are optional but make the codebook far more useful. The first row must contain column headers; the tool guesses which column is which and lets you correct it.

Is my data uploaded anywhere?

No. The generator runs entirely in your browser. Your variable list is never sent to a server, so it is safe to use with study metadata that may not leave your institution.

Which file formats can I use?

You can paste a range straight from Excel, or upload an Excel (.xlsx), CSV or tab-separated file. Old .xls files need to be saved as .xlsx first. SPSS users can export the variable view to Excel and paste it in.

How do I turn the codebook into a PDF?

Click “Print / Save as PDF” and choose “Save as PDF” in your browser’s print dialog. The page is styled so only the codebook itself is printed.

Is a codebook the same as a data dictionary?

They overlap heavily: both describe every variable, its type and its allowed values. A codebook is usually a document for people who analyse the data; a data dictionary is often tied to the database itself. This tool produces a printable codebook-style data dictionary.