What is OnlyText?
OnlyText: Transcript Cleaner is a batch-processing tool designed for oral history transcripts. It converts transcripts in .txt, .rtf, .doc, .docx, and text-based .pdf formats into clean, UTF-8 plain text. It is intended to remove title pages and front matter before the interview dialogue, plus common repeated headers, footers, and page numbers.
OnlyText works best when speaker turns are marked by a name or role followed by a colon. It is not a general-purpose PDF converter and cannot reliably identify dialogue in every institutional transcript style.
Step-by-step tutorial
- Choose Transcript Files. Select one or more
.txt, .rtf, .doc, .docx, or text-based .pdf transcripts. Files are processed as a batch.
- Create OnlyText TXT. Once files are loaded, click the second button. OnlyText reads each file, identifies a likely start of dialogue, and removes eligible page artifacts.
- Review Batch Results. Check each file's status, detected first speaker, and the amount of text removed before the dialogue. Warnings indicate uncertain detection or a potentially problematic cutoff.
- Compare the previews. Select a file from the preview dropdown. The left pane shows extracted input text; the right pane shows the resulting cleaned text. Check the first dialogue turn, speaker labels, paragraph breaks, and the ending.
- Export. Click the third button. The default export is a single ZIP containing the processed
.txt files. You can instead choose individual downloads. No processing report is added to the ZIP.
- Clear to start another batch. Clear resets the interface so you can load a new set of transcripts.
How transcript-start detection works
OnlyText searches for speaker labels ending with a colon, such as FLEMING:, Jewell:, Malcolm Jewell:, Interviewer:, or Speaker 1:. It evaluates nearby speaker turns and transcript headings to locate the earliest confirmed start of dialogue rather than simply selecting a later, densely formatted exchange.
Title page / abstract / credits ...
Interview Transcript:
Kurtz: March 7, 2007. My name is Jim Kurtz ...
Berry: I was born on July 20th ...
In this example, the title material is removed, and the cleaned output begins at Kurtz:. If OnlyText cannot confirm a reliable starting point, it retains the full extracted text and displays a warning rather than guessing and discarding possible dialogue.
What gets cleaned?
- Front matter before a confirmed first speaker turn, including title pages, abstracts, and preliminary credits.
- Standalone page numbers, roman-numeral page markers, and certain known page-break artifacts.
- Common repeated short header/footer lines when they meet the tool's removal rules.
Speaker labels and dialogue are intended to remain intact. However, automatic cleanup is heuristic: short repeated lines that are part of an interview can sometimes resemble headers. Always compare the result with the source.
Supported files and limitations
TXT: Reads existing plain text. RTF: Extracts visible text including paragraphs, Unicode, and standard encoded characters; some advanced embedded objects or unusual encodings may require review. DOC: Extracts Word 97–2003 binary document text using a dedicated browser reader when available; encrypted, damaged, or older Word files may not be readable. DOCX: Extracts Word text using Mammoth.js. PDF: Extracts embedded, selectable text using PDF.js; it does not perform OCR. Image-only or scanned PDFs must be converted to searchable text first.
PDF layout can affect reading order, especially with columns, unusual indentation, split names, and speaker labels positioned separately from dialogue. Transcripts without colon-based speaker labels may not be cleaned correctly. A warning is a prompt to inspect the output, not a guarantee of error.
Output files and encoding
All exports are UTF-8 .txt files, without a BOM option. Original .txt filenames are retained; .rtf, .doc, .docx, and .pdf extensions are replaced with .txt. No extra suffix is appended. ZIP export is selected by default; individual downloads are optional.
Privacy and dependencies
Transcript contents are processed locally in your browser. OnlyText does not send transcript contents to a server or save them in a remote account. The page loads its JavaScript libraries (including the legacy DOC reader) from third-party content delivery networks, so an internet connection may be required when opening it, and those providers can receive ordinary requests for library files.
Review before use
Check the beginning and end of each cleaned transcript, inspect speaker turns and page transitions, and verify that meaningful content was not removed. OnlyText is a preparation tool, not a substitute for transcript quality control or archival review.
Created by Douglas A. Boyd. Provided for non-commercial and archival purposes, without warranty. See the notice at the bottom of the main page.