Skip to main content
v2026.1714 entries · CC-BY 4.0
Dictionary termTrack AStablev2026.2

AI in qualitative coding

The use of LLMs or other AI tools to assign codes, themes, or categories to qualitative data (interview transcripts, open-ended survey responses, field notes), either as the sole coder, a second coder for reliability, or a first-pass triage to be human-reviewed.

ByCASRAI Editorial Board
· Last updated 21 May 2026

Examples

Worked examples

  • Is an instance

    Using GPT-4 as a second coder on 200 interview transcripts, with human-AI agreement reported as Cohen's kappa

Counter-examples

Looks similar, but isn't

  • Not an instance

    A human coder using NVivo to organise codes without AI assistance is not doing AI-assisted coding

Editorial commentary

Reporting AI use in qualitative analysis should specify the role (primary, secondary, triage), the prompt or codebook given to the model, the inter-coder agreement with human coders, and the model version. Reproducibility requires sharing the prompts.

References

  • Morgan 2023 ‘Exploring the Use of ChatGPT for Qualitative Analysis’ International Journal of Qualitative Methods
  • Christou 2023 ‘AI in Qualitative Research’ Field Methods

Also known as

LLM coding (qualitative) · AI-assisted thematic analysis

Machine-readable encodings

Use in your systems

JATS XML <role> element
xml
<role vocab="credit"
      vocab-identifier="https://casrai.org/dictionary/"
      vocab-term="AI in qualitative coding"
      vocab-term-identifier="https://casrai.org/dictionary/term/ai-in-qualitative-coding" />
Schema.org DefinedTerm (JSON-LD)
json
{
  "@context": "https://schema.org",
  "@type": "DefinedTerm",
  "name": "AI in qualitative coding",
  "identifier": "https://casrai.org/dictionary/term/ai-in-qualitative-coding",
  "description": "The use of LLMs or other AI tools to assign codes, themes, or categories to qualitative data (interview transcripts, open-ended survey responses, field notes), either as the sole coder, a second coder for reliability, or a first-pass triage to be human-reviewed.",
  "inDefinedTermSet": "https://casrai.org/dictionary/domain/generative-ai-use-and-disclosure/",
  "url": "https://casrai.org/dictionary/term/ai-in-qualitative-coding",
  "sameAs": [
    "LLM coding (qualitative)",
    "AI-assisted thematic analysis"
  ],
  "license": "https://creativecommons.org/licenses/by/4.0/"
}

Adopted by research universities worldwide

University of Cambridge logoColumbia University logoUniversity of Edinburgh logoHarvard University logoMassachusetts Institute of Technology logoUniversity of Oxford logoPrinceton University logoStanford School of Medicine logoUniversity College London logoUniversity of Cambridge logoColumbia University logoUniversity of Edinburgh logoHarvard University logoMassachusetts Institute of Technology logoUniversity of Oxford logoPrinceton University logoStanford School of Medicine logoUniversity College London logo
  • University of Cambridge logo
  • Columbia University logo
  • University of Edinburgh logo
  • Harvard University logo
  • Massachusetts Institute of Technology logo
  • University of Oxford logo
  • Princeton University logo
  • Stanford School of Medicine logo
  • University College London logo

View CASRAI adoption →