In this guide
The short versionAnonymization and pseudonymizationDirect and indirect identifiersStep by stepA before-and-after exampleCommon mistakesWhen anonymity isn't possiblePlan before you transcribeA systematic pass: what to look forPeople the participant mentionsQuotes in publications: extra careBalancing detail and privacyAnonymization checklistFrequently asked questionsHow to anonymize interview transcripts
Remove direct and indirect identifiers from interview transcripts with a step-by-step method, a before-and-after example and a checklist.
Part of the series: Qualitative data analysis: a step-by-step guide
The short version
- Anonymizing a transcript means removing direct identifiers, such as names and contact details, and masking indirect ones, such as places, jobs and unusual events, that could point to a person.
- Use consistent placeholders, keep the key apart, check with fresh eyes, and remember that audio can't be anonymized by editing text.
Anonymization and pseudonymization
Pseudonymization replaces identifiers with codes or fake names, while a separate key can still link them to real people. Anonymization goes further: nobody, including you, can identify the person. For most interview studies the practical aim is careful pseudonymization of working transcripts and careful removal of detail from anything you publish. This is one part of keeping interview recordings private.
Direct and indirect identifiers
| Type | Examples | What to do |
|---|---|---|
| Direct | Names, phone numbers, email addresses, social media handles, exact addresses | Remove or replace with a code |
| Indirect | Employer, job title, small town, school, rare condition, dates of events | Generalize, or remove if still identifying |
| Combination | A senior role plus a small town plus a recent event | Check the combination, since each piece alone may seem harmless |
| Hidden | File names, document properties, timestamps, speaker labels | Check and clean them before you share |
Step by step
- Agree the level of anonymization with your ethics approval and your consent form. Tell participants what you'll do.
- Work on a copy. Keep the original transcript safe and separate.
- Replace names with codes, and use the same code every time. For example, the participant is P03, and a colleague they mention is [Colleague A].
- Replace places with general descriptions, such as [a mid-sized city] or [the hospital].
- Generalize details that could identify someone: a job title becomes a role type, an exact date becomes a season or year.
- Look for names in unexpected places: speaker labels, headers, comments, file names and document properties.
- Keep a replacement log, with the placeholder and the original, in a separate protected file.
- Reread the cleaned transcript as a stranger. Ask yourself whether anyone could guess who it is.
A before-and-after example
Both passages are invented.
BeforeI'm Maria, I run the oncology unit at St Brigid's in Cork, and last March a patient asked me where her recording would be stored.
AfterI'm [P03], I lead a clinical unit at [hospital A] in [city A], and last spring a patient asked me where her recording would be stored.
- What changed
- The name, the unit, the hospital, the city and the month were all generalized or replaced.
- What stayed
- The meaning of the story. A reader still understands what happened and why it matters.
Common mistakes
| Mistake | Fix |
|---|---|
| Find-and-replace misses nicknames and misspellings | Read the whole transcript, and search for variants |
| Names left in file names or document properties | Rename files with codes and clean the metadata |
| Removing so much that the meaning is lost | Generalize instead of deleting, where you can |
| Anonymizing the text but sharing the audio | Share text only; a voice can identify a person |
| Promising full anonymity | Promise what you can check, such as removing names and details |
When anonymity isn't possible
Sometimes the setting is so small, or the story so distinctive, that no edit hides the person. In these cases, talk to participants. They may be happy to be identified, or they may prefer that you leave a detail out. Record what they agree to, and discuss the issue with your ethics board.
Plan before you transcribe
Decide what level of identification participants have agreed to before you touch the transcripts. Some participants want to be named. Pseudonymizing is a common default. Say which applies on your consent form.
| Level | What it means | Sample consent wording (invented) |
|---|---|---|
| Named, with consent | The participant is identified in outputs | "I agree to be named in the report." |
| Pseudonymized | A code or fake name replaces the identity; a key exists | "My name will be replaced with a code in everything you share." |
| Anonymized | No key is kept and re-identification isn't possible | "Nothing in the report could identify me." (promise only when true) |
A systematic pass: what to look for
Go through the transcript once for each category, instead of hoping to spot everything in one read.
| Category | Examples | Replace with |
|---|---|---|
| People | Names, nicknames, relatives, colleagues | P03, [Colleague A], [a relative] |
| Places | Towns, streets, buildings, venues | [city A], [a mid-sized town], [the hospital] |
| Organizations | Employers, schools, teams, clients | [Employer A], [a large university] |
| Dates and times | Birthdays, exact event dates, dates on documents | A season or year, or [last spring] |
| Numbers | Ages, salaries, case numbers, phone numbers | A range, or [age 40s] |
| Unusual details | A rare job, a famous event, a distinctive illness | A general description, or remove |
| Online identity | Usernames, handles, links, project names | [handle], [link removed] |
People the participant mentions
People who never agreed to take part appear in many interviews. Treat them with the same care. Replace their names and avoid details that identify them. If a mention could cause harm to a third party, think about whether you need it at all.
Quotes in publications: extra care
Published quotes can be read by people who know the participant. Distinctive phrases may also be findable through a search of the published text. Before you publish, read each quote on its own and ask whether someone could recognize the speaker from the wording, the story or the context. If so, trim it, paraphrase it, or check with the participant.
Balancing detail and privacy
Every edit costs some meaning. Generalize instead of deleting where you can, so the story still makes sense. If you can't protect someone without losing the point of a passage, leave that passage out of what you share and keep it in your private analysis.
Anonymization checklist
- The level of anonymization matches my consent form and ethics approval.
- I worked on a copy of the transcript.
- Names, places, employers and dates are replaced or generalized.
- Placeholders are consistent across the whole transcript.
- File names, headers and document properties are clean.
- The key linking codes to people is stored apart and protected.
- I reread the result as a stranger.
- I'm sharing text, not audio.
If you transcribe with software on your own computer, you can anonymize before anything leaves your machine.
Frequently asked questions
Is a pseudonym enough?
A pseudonym protects the name, but other details in the transcript can still identify a person. Check places, jobs, dates and unusual events too.
Can I anonymize audio?
Not reliably. A voice can identify a person, and editing out names doesn't change that. Many researchers share transcripts and not audio, and keep recordings private until they are deleted.
Do I still need to anonymize if participants agreed to be named?
Follow what they agreed to. If they consented to being named, you may not need to. Make sure the consent covers the specific use, such as publication or archiving, and that they understood it.
Should I anonymize before or after coding?
Many researchers anonymize first, so analysis files never carry names. If you code before anonymizing, protect the files as sensitive until you've finished.
Can software anonymize transcripts for me?
Software can help find names and places, but it misses indirect details and context. Always read the result yourself.

