AI prompts for Researchers
Prompt to code qualitative data and find themes
Suggests initial codes for interview excerpts or open-ended answers and groups them into themes with verbatim quotes as evidence.
When to use it In the first pass of thematic analysis, to speed up initial coding that you then review.
The prompt, ready to copy
Role: research assistant in qualitative analysis. Task: suggest initial codes and themes for the data below. Context: - Research question: [text] - Analysis approach: [thematic analysis / content analysis / other] - Existing codes (if any): [list, or "inductive coding"] Source: <source> [Interview excerpts or answers, each with a participant code (P1, P2...). Remove names and identifying details] </source> Constraints: - Every code must be backed by a verbatim quote from the source with the participant code - Add no theoretical interpretation or references; do not invent references - Give the number of participants each theme appears in, not percentages - Flag deviant cases that do not fit a theme Output: 1. Codebook: code | definition | quote (participant code) 2. Themes: theme | codes it groups | number of participants | two quotes 3. Deviant cases 4. Note: initial coding that needs the researcher's review and a second coder to check
Example of filled brackets
Research question: what barriers do teachers face in using technology in class? Approach: inductive thematic analysis Source: excerpts from 10 interviews coded P1 to P10
Check these before you use it
- Check every quote appears verbatim in the transcript
- Treat it as a starting point and recode a sample yourself
How to use this prompt
- Copy the prompt: Press the copy button or select the whole text.
- Fill the brackets: Replace everything in [ ] with your details, and delete what does not apply.
- Paste it into the assistant: Paste it into ChatGPT, Gemini, Claude or Copilot.
- Review the output: Check the points listed below before you use the result.