Research guides › Analysis and reporting

Coding interviews with a codebook: a copy-ready template

Updated 10 Nov 2026 · by Venu Gopal Reddy Muvva, founder

Coding interviews means tagging each passage of a transcript with a short label (a code) defined in a codebook, then grouping codes into themes and counting how many participants each theme covers. A good codebook gives every code a definition, when to apply it, when not to, and an example quote, so two people tagging the same transcript reach the same result.

Deductive or inductive codes

Deductive coding starts from a list of codes you decide in advance, usually from your research questions or a framework such as jobs to be done. It is fast and keeps the analysis focused, but it can miss anything you did not expect.

Inductive coding builds codes from the data: you read the transcripts and name what you see. It finds surprises, at the cost of more time and a longer, messier first list. Most product teams mix the two: start with eight to twelve expected codes, and add new ones whenever a passage doesn't fit.

Braun and Clarke's six phases of thematic analysis

  1. Familiarisation: read every transcript once without coding, noting first impressions.
  2. Generating initial codes: tag passages with codes from the codebook, adding codes when needed.
  3. Searching for themes: group related codes into candidate themes.
  4. Reviewing themes: check each theme against the coded passages and the full data set; split, merge or drop.
  5. Defining and naming themes: write a short definition and a name that states the finding.
  6. Producing the report: choose vivid quotes and tie each theme back to the research question.

Codebook template (filled for a churn study)

Illustration: six codes from a SaaS churn study. Copy the columns; replace the rows with your own codes.
CodeDefinitionInclude whenExclude whenExample quote
CHAMPION-LEFTThe person who drove adoption left the company or roleParticipant names a person whose exit preceded cancellationGeneral team changes with no link to the product"Ravi set it up, and after he moved on nobody owned it."
PRICE-VALUEPrice felt high relative to value receivedCost is compared with usage or resultsBudget cut across all tools (use BUDGET-CUT)"We used it twice a month; ₹4,000 felt silly."
BUDGET-CUTSpending frozen or reduced company-wideCancellation was part of a wider cutOnly this tool was judged poor value"Finance cancelled every subscription above ₹2,000."
MISSING-INTEGRATIONA needed connection to another tool was absentParticipant names the tool and the workaroundVague wish for "more integrations""No Zoho link, so we copied everything by hand."
SWITCHED-TOMoved to a named alternativeAn alternative product or manual method is namedJust evaluating others, did not switch"We went back to Google Sheets."
SETUP-FAILEDNever got to first useful resultStalled during import, set-up or inviteUsed it successfully then stopped"The import kept failing on our old file."

Tagging conventions that keep the data clean

  • Code the smallest passage that still makes sense on its own, usually one to four sentences.
  • Allow more than one code per passage; a champion leaving and a budget cut can both be true.
  • Use upper-case code names with no spaces so they are easy to search and count in a spreadsheet.
  • Keep a memo column for interpretations; never edit the participant's words.
  • Version the codebook: when a definition changes, note the date and recode earlier transcripts.

Checking agreement and counting

Before coding everything, have two people code the same two transcripts independently and compare. Where they disagree, the definition is usually unclear; fix the codebook rather than arguing about the passage. For high-stakes work, teams sometimes calculate an agreement statistic, but for most product research a discussion of the differences is enough.

When you count, count participants, not passages. "7 of 12 participants mentioned a champion leaving" is meaningful; "CHAMPION-LEFT was applied 31 times" mostly tells you who talked longest. Report counts as context for qualitative findings, not as percentages of a market.

Sources

Questions

How many codes should a codebook have?

For a focused product study, 15–30 codes is typical. Fewer than ten usually lumps different ideas together; more than about 40 becomes hard to apply consistently. Merge rarely used codes at the theme-review stage.

What is the difference between a code and a theme?

A code labels a passage ("MISSING-INTEGRATION"). A theme is a pattern across codes and participants that answers the research question, such as "Teams leave when the tool sits outside the systems their accountant already uses".

Do I need special software to code interviews?

No. A spreadsheet with one row per passage and columns for participant, quote, code and memo works well for up to about 20 interviews. Dedicated tools help with search and larger volumes.

Can AI code interview transcripts?

AI can propose codes and tag passages quickly, but check its work against the transcripts and keep a human-owned codebook. CustomerInterviewAI writes findings that cite the exact transcript lines they came from, which makes that check faster.

Make it yours, or have an AI run it

Paste your own goal into the free interview guide generator (no sign-up) to get a version for your product. Or run the guide as AI-moderated interviews: an AI interviewer asks these questions by voice, video or text in the participant's browser, follows up on vague answers, and gives you findings that quote people's exact words. You bring your own participants.

Start free — 14 days, no card

Related: Affinity mapping for interview notes, step by step · How many user interviews are enough? Sample size guide · User research report template that people actually read · Churn · Analyse interview transcripts · One-page user research plan template with an example · All research guides