Redaction guides

How audio PII redaction actually works

Redacting a text document or PDF means replacing characters or flattening pixels at fixed coordinates on a page. An audio recording, by contrast, is a continuous waveform with no built-in word boundaries—you cannot run a search or regular expression directly on raw sound samples. Reliable audio PII redaction requires turning speech into accurately timed words, understanding which spoken phrases are actually sensitive, mapping those phrases back to exact millisecond ranges in the audio, and giving a human reviewer the tools to verify and adjust the result before export.

The ASR + LLM pipeline behind AnyRedact

Rather than relying on a black-box redaction API, our audio redaction and speech redaction tool splits the job into four transparent stages:

  1. Overlapping audio chunks: In your browser, the recording is decoded into 16 kHz mono WAV chunks with a short overlap between consecutive chunks. If a caller reads a surname or credit card number right across a chunk boundary, the overlap ensures the word is never cut in half—each chunk keeps only the words whose midpoint falls inside its own window.
  2. Word-level automatic speech recognition (ASR): Plain sentence transcripts aren’t enough to bleep audio cleanly; every word needs an accurate start and end timestamp. Even a half-second timing drift can leave the first syllable of a name or the last digit of a phone number audible. We benchmarked speech models specifically on how completely their word timestamps cover spoken PII, using Microsoft MAI-Transcribe-2 (with automatic fallback to Deepgram Nova-3 and Whisper large-v3-turbo) for tight word-boundary alignment across 60+ languages.
  3. LLM + pattern detection on the transcript: Once timed words are assembled into a transcript with character offsets, a large language model paired with deterministic checks (such as Luhn validation for payment cards, IBAN checksums, and phone/ID patterns) scans the text in full conversational context. When a person’s full name is identified early in a call, every shorter mention of their first or last name later in the recording is caught automatically.
  4. Sample-level bleeping and re-encoding in your browser: Every flagged character span is mapped back to the start of its first spoken word and the end of its last spoken word, then widened with a 150 ms safety pad on both sides so consonant onsets and trailing syllables don’t slip through. When you click Download, your browser replaces those audio samples with a 1 kHz tone (or silence) using short fade-ins and fade-outs to avoid clicks, and encodes a brand-new audio file stripped of ID3 and MP4 metadata tags.

Why dedicated PII redaction models perform worse on audio

Many teams initially reach for either dedicated PII token-classification models (small BERT/DeBERTa NER taggers or Presidio-style pipelines) or the built-in pii_redaction flags offered by cloud speech APIs. In practice, pairing word-level ASR with an LLM outperforms dedicated PII models on real call recordings for several reasons:

Why manual redaction is non-negotiable for audio

No automatic pipeline—whether ASR + LLM or an end-to-end speech model—can catch 100% of sensitive audio on its own. Real-world recordings include crosstalk where two people speak at once, heavy background noise, names spelled letter by letter ("S-M-I-T-H", which speech models often transcribe as separate single letters), and mumbled words that the ASR model mishears or skips entirely.

Because AnyRedact keeps the transcript, the detected spans, and the audio waveform linked in an interactive editor before anything is burned into the file, you stay in full control:

For a quick walkthrough of the editor controls, see our step-by-step guide on how to redact an audio recording.

Related