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
- Familiarisation: read every transcript once without coding, noting first impressions.
- Generating initial codes: tag passages with codes from the codebook, adding codes when needed.
- Searching for themes: group related codes into candidate themes.
- Reviewing themes: check each theme against the coded passages and the full data set; split, merge or drop.
- Defining and naming themes: write a short definition and a name that states the finding.
- Producing the report: choose vivid quotes and tie each theme back to the research question.
Codebook template (filled for a churn study)
| Code | Definition | Include when | Exclude when | Example quote |
|---|---|---|---|---|
| CHAMPION-LEFT | The person who drove adoption left the company or role | Participant names a person whose exit preceded cancellation | General team changes with no link to the product | "Ravi set it up, and after he moved on nobody owned it." |
| PRICE-VALUE | Price felt high relative to value received | Cost is compared with usage or results | Budget cut across all tools (use BUDGET-CUT) | "We used it twice a month; ₹4,000 felt silly." |
| BUDGET-CUT | Spending frozen or reduced company-wide | Cancellation was part of a wider cut | Only this tool was judged poor value | "Finance cancelled every subscription above ₹2,000." |
| MISSING-INTEGRATION | A needed connection to another tool was absent | Participant names the tool and the workaround | Vague wish for "more integrations" | "No Zoho link, so we copied everything by hand." |
| SWITCHED-TO | Moved to a named alternative | An alternative product or manual method is named | Just evaluating others, did not switch | "We went back to Google Sheets." |
| SETUP-FAILED | Never got to first useful result | Stalled during import, set-up or invite | Used 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
- Braun & Clarke (2006), Using thematic analysis in psychology, Qualitative Research in Psychology 3(2) (checked 10 Nov 2026)
- Thematic analysis (Wikipedia) (checked 10 Nov 2026)
- Guest, Bunce & Johnson (2006), How Many Interviews Are Enough?, Field Methods 18(1) (checked 10 Nov 2026)
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 cardRelated: 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