What does it mean to code an open-text survey?

Coding an open-text survey means assigning descriptive labels to written answers so you can compare patterns across responses. A useful result includes the original words, the assigned themes, the rules behind those assignments, and a clear account of what was counted.

For a focused survey with a manageable set of comments, a practical starting point is response-level, multi-label coding: treat one answer as one unit and assign every theme that it meaningfully contains. This guide uses that approach. It is a workflow for organizing feedback, not a claim that all qualitative research should follow one method.

The short version: preserve the source, read a varied sample, draft a codebook, code consistently, revisit early decisions, then report counts and quotes with limitations.

1. Define the question and the coding unit

Write down what the analysis needs to answer before making labels. “What makes the reporting workflow difficult?” is a narrower task than “What do customers think of the product?” A narrow question makes it easier to decide which themes belong in the codebook.

Decide whether you are coding a whole response, individual sentences, or smaller passages. This example uses one response to one survey question as the unit. If a person answers several questions, several rows do not automatically mean several people. Use the word responses unless you have a sound respondent-level count.

2. Preserve the original words and row IDs

Keep an untouched copy of the input file. Add or preserve a stable source ID before sorting or filtering. A quote labeled S10 should still lead to the same answer after you export the coded file.

Record the survey question, collection context, and any cleaning rules. Decide explicitly how to handle empty answers, duplicate submissions, “not applicable,” and responses outside the question. Do not quietly remove an awkward answer because it does not fit a theme.

3. Read first, then write a small codebook

Read a varied set of answers before assigning the final labels. Draft themes that help answer the analysis question. A theme name alone is rarely enough: write what counts, what does not, and a concrete example.

ThemeIncludeExclude
NavigationDifficulty locating a feature or moving through a workflowSlow loading without a findability issue
ExportRequests or problems concerning downloaded data, fields, selection, or export configurationFinding a non-export screen
SpeedExplicit delay, loading time, or slow responseExtra clicks with no stated delay
Codebook excerpt from the synthetic SurveyClose example.

Keep labels at a useful level of detail. “Bad experience” may hide different problems; fifteen labels for nearly identical export requests may make the report harder to read. The right level depends on the question and the decisions the report will support.

4. Allow overlap when the words support it

Consider this invented answer:

“I could not find the saved filters, and I need an export with the row IDs.”S01 · Synthetic response

It receives Navigation and Export. It does not receive Speed: nothing in the words says the system was slow. Multiple themes preserve two separate issues without turning one response into two respondents.

Some responses will receive none of the issue themes. In the worked example, “The new layout looks good to me” remains in the dataset without an issue tag. That is a documented coding choice, not evidence that the response was ignored.

5. Revisit decisions as the codebook settles

When you sharpen a definition, return to previously coded answers that could be affected. Otherwise, the first half and second half of the file may silently use different rules. Keep short notes about changed definitions and borderline cases.

If more than one person codes the material, have them apply the same draft definitions to an overlapping set of responses, then discuss disagreements. Agreement does not by itself prove that an interpretation is correct, but disagreement can expose unclear rules. Do not report a reliability statistic unless you actually designed and performed the relevant assessment.

6. Choose quotes to explain, not decorate

A quote should help a reader understand a finding. Keep its source ID, preserve its meaning, and avoid selecting only the most dramatic wording. If the responses contain personal or identifying information, review what is appropriate to include before sharing.

Write a short interpretation beside the count. For example: “Navigation appeared in 8 of the 16 synthetic responses. Several comments concerned locating saved reports or settings.” The count is the coded observation; the second sentence explains its content. Neither sentence says the issue affects half of all real customers.

7. Report a traceable result

A compact handoff can contain the question, coding approach, codebook, theme counts, selected source-linked quotes, and limitations. Include the coded data when the recipient is allowed to receive it. A chart without these details makes it difficult to understand how the result was produced.

  • Count base: Which responses are included in the denominator?
  • Overlap: Can an answer have more than one theme?
  • Uncoded material: What happened to blanks, neutral answers, and out-of-scope responses?
  • Interpretation: What does the evidence support, and what remains uncertain?

Continue with the guide to reporting theme counts, or inspect all 16 responses in the worked example.