Blog••Journalism

Coding Qualitative Data: Examples and Step-by-Step Method

Sarah Johnson

Sarah Johnson

Writes about field sales, meeting notes and voice-first workflows at ParrotNotes. Every article is reviewed by the ParrotNotes product team before it goes live.

Coding Qualitative Data: Examples and Step-by-Step Method

Leena had eight interview transcripts open on her laptop and a client readout on Friday. Each one ran about 45 minutes: owners of small gyms and yoga studios talking about members who book a class and never show up. She had highlighted half of every page in yellow. Nothing was labelled, so nothing could be counted. (Leena and her study are an illustration we built for this guide, not a real project.)

If you run interviews for a living, you know that stage. The talking part felt rich, and now the transcripts feel like a wall. Coding qualitative data is how you get through it: you label each meaningful piece of what people said, so you can sort it, compare it across participants and build themes you can defend with quotes.

This guide walks through the method step by step, with a qualitative data coding example (four excerpts coded four ways), a codebook you can copy, second-cycle coding into themes, and a fair look at coding software.

Coding starts from the transcript, so get that part right first. If you record interviews on your phone, ParrotNotes turns each recording into a searchable transcript you can export and code.

What is coding qualitative data?

Coding qualitative data means attaching short labels to segments of text (a sentence, a few lines, an answer) that say what each segment is about. Nielsen Norman Group's guide to thematic analysis puts it simply: "A code is a word or phrase that acts as a label for a segment of text."

Once every relevant segment carries a code, you can pull together everything eight people said about fees, reminders or overbooking, and see who said it. That's the bridge from raw transcripts to findings.

The standard reference is Johnny Saldaña's The Coding Manual for Qualitative Researchers, now in its fifth edition (SAGE, 2025), which profiles more than 35 coding methods. It splits the work into two passes: first-cycle coding, where you label the data, and second-cycle coding, where you group and reorganize those labels into patterns. This guide uses the same split.

Inductive vs deductive coding

There are two ways to get your first codes, and most studies use a bit of both.

  • Deductive coding starts with a list of codes before you read: from your research questions, a framework or an earlier study. It's faster and keeps you focused, but it can make you miss what you didn't expect.
  • Inductive coding builds the codes from the data as you read. It's slower, but it's how surprises surface.
  • Hybrid coding starts with a short deductive list (five or six codes from your research questions) and adds inductive codes as the data surprises you.

For user and market research, hybrid is usually the right call: your client's questions need codes that answer them, and the thing nobody asked about is often the best finding.

Coding qualitative data step by step

Here is the full process in seven steps. The worked example below shows steps 4 to 6 on real-looking data.

  1. Prepare the transcripts. Verbatim text for anything you might quote, a speaker label on every turn, and a participant code (P1, P2) instead of names. Our guide to qualitative interview transcription covers formats, and the free interview transcript template gives you a consistent layout.
  2. Read everything once without coding. Write a short memo per transcript: what surprised you, and two lines you'd quote.
  3. Pick your starting codes. Write down the deductive codes from your research questions (in a semi-structured interview or an in-depth interview, your guide's topics are a good start), with a one-line definition each.
  4. Code line by line (first cycle). Label each segment that touches your research questions. A segment can carry more than one code.
  5. Build the codebook as you go. Every new code gets a definition, an "include when" rule and an example quote.
  6. Group codes into patterns and themes (second cycle). Merge duplicates, cluster related codes, and count participants, not mentions.
  7. Check your work. Have a colleague code a sample, review each theme against the full data set, and log every merge or drop in an audit trail.

Coding qualitative data in seven steps: prepare transcripts, read once, pick starting codes, code line by line, build the codebook, group into themes, check your work

First-cycle coding methods

Saldaña's manual lists many first-cycle methods. Four cover most interview projects, and you can combine them in one pass.

MethodWhat the code capturesExample code
DescriptiveThe topic of the passage, as a noun"No-show fees"
In vivoThe participant's own words, in quotes"people ignore the app"
ProcessAn action, written as a gerund (-ing word)"Chasing repeat no-shows"
EmotionA feeling the participant states or shows"Frustration"

Descriptive codes are quick and easy for a team to share. In vivo codes keep the participant's voice for the readout.

Qualitative data coding example: four excerpts, start to finish

Here is Leena's study again. Everything in this section is sample data we wrote to show the method; the participants and quotes are invented.

The research question: how do owners of small gyms and studios handle members who book a class and don't show up, and where would a booking product help?

Four excerpts from the transcripts:

P1 (yoga studio): "I don't charge a fee. It's a small town. If I charge someone ten dollars for missing yoga, I'll see her at the supermarket the next day."

P2 (strength gym): "Honestly, the no-shows used to make me furious. Now I just overbook the 6 a.m. class by two spots and hope."

P5 (cycling studio): "Every Sunday night I go through the booking list, text anyone who missed twice, and if they don't answer, I take them off the regulars group."

P7 (pilates studio): "The app sends the reminder, sure. But people ignore the app. They answer me on WhatsApp."

First-cycle codes, four methods side by side:

ExcerptDescriptiveIn vivoProcessEmotion
P1No-show fees"it's a small town"Protecting relationshipsWorry about awkwardness
P2Overbooking"overbook by two spots"Compensating for no-showsFrustration, now resignation
P5Weekly attendance review"take them off the regulars group"Chasing repeat no-showsNone stated
P7Automated reminders"people ignore the app"Contacting members personallyMild skepticism

Each column does a different job. Descriptive codes name the topics, in vivo codes give you the line for the slide, process codes show the workarounds (where product ideas hide), and emotion codes show that fees carry social risk, not just admin effort.

Second-cycle pattern codes (grouping the first-cycle codes):

  • Owners absorb no-shows instead of penalizing them: P1 (protecting relationships), P2 (compensating).
  • The owner is the reminder system: P5 (chasing), P7 (contacting personally).

Themes across all eight sample interviews, counted by participant:

ThemeParticipantsCount
A no-show fee feels like a social riskP1, P3, P4, P6, P85 of 8
The owner, not the app, does the remindingP2, P3, P4, P5, P7, P86 of 8
Overbooking is the quiet fixP2, P4, P63 of 8

Leena's readout had three slides, one per theme, each with two in vivo quotes. The client's product lead stopped on the second slide: their roadmap had a smarter automated reminder in it, and six of eight owners had just said members ignore automated reminders.

Coding this way depends on knowing who said what. If your transcripts come from phone recordings, speaker labels and keyword search make the counting easy. Try ParrotNotes free on your next interview and code from the export.

Build a codebook

A codebook keeps your codes consistent across 8 transcripts or 80, and it's what lets a second coder work alongside you. Keep it in a spreadsheet. Copy this layout:

CodeDefinitionInclude whenExclude whenExample quoteType
No-show feesAny mention of charging, or not charging, for a missed classFee amounts, fee policy, reasons for no feeGeneral pricing of memberships"I don't charge a fee." (P1)Deductive
OverbookingBooking more people than spots to cover expected no-showsExplicit extra spots or waitlist tricksClasses that are simply full"overbook by two spots" (P2)Inductive
Personal remindersThe owner contacts members directly about attendanceTexts, calls, WhatsApp, in-person nudgesAutomated messages from a booking app"They answer me on WhatsApp." (P7)Inductive
Automated remindersMessages sent by software without the ownerApp or email reminders, their effectOwner-written messages"The app sends the reminder." (P7)Deductive

Keep one idea per code (a definition that needs "and" is two codes), always write the exclude rule, and date every change, such as "Fees and Penalties merged, 14 Nov".

Second-cycle coding: from codes to themes

First-cycle coding often leaves you with dozens of codes. Second-cycle coding condenses them. Saldaña describes several methods; two do most of the work in applied research:

  • Pattern coding groups similar codes under one explanatory label, as in the example above.
  • Focused coding keeps the most frequent or most significant codes and drops or merges the rest.

A theme is more than a category. Nielsen Norman Group defines a theme as "a description of a belief, practice, need, or another phenomenon that is discovered from the data." So "Reminders" is a topic, while "The owner, not the app, does the reminding" is a theme.

Braun and Clarke's widely cited paper, "Using thematic analysis in psychology" (2006), sets out the phases from generating initial codes to reviewing, defining and naming themes. Its most useful habit for applied work: review each theme against the whole data set, so one vivid interview can't carry a theme alone.

From there, turning themes into insights and recommendations is the job of research synthesis.

Intercoder agreement in brief

Should two people code the same transcripts? It depends on your method and your audience.

Cliodhna O'Connor and Hélène Joffe's guide, "Intercoder Reliability in Qualitative Research" (2020), offers practical numbers. They say double-coding 10 to 25% of the data units is typical, and the subsample should be picked at random or by a stated rule. On agreement scores such as Cohen's kappa, they note values over .9 are accepted by everyone and over .8 by many, with real disagreement below that.

They also note the critics: Braun and Clarke argue reliability isn't the right test for interpretive qualitative work. For a client study, a middle path works well.

Marco, a researcher in our second illustration, had a colleague code two of his nine transcripts blind. They disagreed on one code, "Price sensitivity", which turned out to mean two different things. Splitting it into two codes fixed the codebook before the remaining seven transcripts, which saved him a full re-code later.

Qualitative data coding software

You can code a small study in a spreadsheet: one row per segment, columns for participant, quote and codes, then a pivot table for counts. Past about ten transcripts, dedicated software saves time. Prices and free options below were checked on each vendor's own site, as of December 2026.

ToolPlatformsFree option and price, as of December 2026
TaguetteMac, Windows, Linux, or a hosted serverFree and open source
DelveWeb14-day free trial; $50 per user a month, discounted education plan
ATLAS.tiMac, Windows, WebTrial of up to 5 days of active use within 20 days, then a restricted free version (10 documents, 50 quotations, 25 codes, 2 memos); flat-fee licences
MAXQDADesktop14-day free trial with no feature limits and 60 minutes of automated transcription; annual or multi-year licences
NVivo (Lumivero)Desktop, plus NVivo AI CloudNo free plan listed; annual or one-time licences, with a student licence; prices shown by region in Lumivero's shop
DovetailWebNo free plan; smallest listed plan $4,800 a year (marked "coming soon"); 30-day trial on its top plan

Taguette is the easiest free start; ATLAS.ti, MAXQDA and NVivo suit large or academic projects; Delve and Dovetail lean toward user-research teams.

ParrotNotes isn't a coding tool: it fits before the coding. It records the interview on your iPhone, Android phone or Mac, transcribes it, and exports the transcript as text for any of the tools above.

Keyword search across all transcripts is on every plan, so you can find every mention of "fee" before you open your coding tool. As of December 2026, the Free plan gives 100 minutes a month with recordings up to 30 minutes. A 45-minute interview needs Pro ($19.99 a month, or $14.99 a month billed annually), which adds speaker identification, recordings up to 3 hours and 3,000 minutes a month. For transcription options, see our comparison of transcription software for qualitative research.

Common mistakes when coding qualitative data

  • Coding without a research question. You'll label everything and find nothing.
  • Near-identical codes. "Fee worry" and "fee concern" should be one code.
  • Counting mentions instead of people. One talkative participant can fill a code alone.
  • Losing the speaker. A quote without a participant code can't be counted or defended; see how to quote an interview.
  • Treating topics as themes. "Reminders" isn't a finding.

Better questions make coding easier, too. Our list of open-ended questions for qualitative research helps you collect answers worth coding.

From transcripts to themes you can defend

Coding qualitative data is a routine, not a talent. Prepare transcripts with speaker labels, read once, start with a few deductive codes, code line by line, keep a codebook, then group codes into themes and count people. Check a sample with a colleague and log your decisions.

Leena's eight transcripts became three themes because every highlight got a label, every label got a definition, and every quote kept its speaker. Start your next study the same way, and the readout gets a lot easier to write.

Frequently Asked Questions

What are the main types of coding in qualitative research?

Saldaña's manual separates first-cycle methods (descriptive, in vivo, process, emotion and others) from second-cycle methods (pattern, focused and others). Grounded theory uses its own terms, open, axial and selective coding. All of them label data first and group the labels later.

What is the difference between a code and a theme?

A code labels one segment of text, such as "Overbooking". A theme describes a pattern across many coded segments and participants, such as "Overbooking is the quiet fix". Several codes usually feed one theme.

Can you code qualitative data in Excel or Google Sheets?

Yes. Put one coded segment per row, with columns for participant, quote and code, then use a filter or pivot table to count participants per code. It works well for small studies; past about ten transcripts, coding software is faster.

Can AI code qualitative data for you?

AI tools can suggest codes and find every mention of a topic, and some coding programs now include AI coding. The judgment stays with you: check every suggested code against the quote, and keep the codebook decisions human.