TEI Converter

Extract text from Text Encoding Initiative files (TEI)


Drop or upload your .TEI file

How to extract text from your TEI file

  1. Click the "Select File" button above, and choose your TEI file.
  2. You’ll see a preview, if available.
  3. Click the "Convert file to..." button to extract text information.

Convert TEI to another file type

To convert TEI XML files to another format, you need Oxygen XML Editor or other Text software.

Convert a file to TEI

The converter also works in reverse, so you can convert other "Encoded Text Document" formats to TEI without using software like Oxygen XML Editor or a similar tool.

  • DOCX to TEI
  • RTF to TEI
  • T2T to TEI
  • HTM to TEI
  • TEXTILE to TEI
  • HADDOCK to TEI
  • XHTML to TEI
  • TEX to TEI
  • OPML to TEI
  • BIB to TEI
  • HTML to TEI
  • ODT to TEI

About TEI files

The .TEI file is an encoded digital text document formatted according to the guidelines of the Text Encoding Initiative Consortium. These files are primarily used by researchers, linguists, and historians in the digital humanities to represent structural, grammatical, and typographical features of literary or linguistic texts.

Because .TEI files are highly structured XML documents, they are usually authored and opened using specialized XML development software like Oxygen XML Editor. Standard text editors or word processors like Microsoft Word will show the raw XML tags, making the text practically unreadable for a layperson. Sharing a .TEI file with a colleague who lacks XML expertise often results in frustration, as they will struggle to parse the dense markup just to access the core content.

To make the content readable, you should convert .TEI to HTML (for web viewing), PDF (for structured reading), or TXT (to strip the tags completely, though semantic data will be lost).

This file format is notoriously difficult to convert perfectly because the complex nesting and domain-specific tags require an XSLT transformation rather than a simple format swap. Standard online converters fail to process the custom tags accurately. Emphasize that often only the original software can properly read or export the data. convert.guru can still identify the file format, inspect the file, and show text or internal content. If our analysis detects a supported underlying or embedded format, viewing or conversion may still be possible. Just drag and drop your file to identify the format, view it, and convert it when possible.

Use Convert.Guru to open and convert your TEI file.

Users also converted XML, ZIP, XPR, RNC and X83 files.


FAQ

If you want to convert TEI file to TXT, RTF, DOC, DOCX, ODT, PAGES, TEX, LATEX, MD, MARKDOWN, LOG or NFO, you can use Oxygen XML Editor or similar software from the "Digital text encoding" category. In the File menu, look for Save As… or Export….

To convert PDF, DOC, ASC, TODO, NFO, MEMO, README, JPG, TXT or NOTE files to TEI, try Oxygen XML Editor or another comparable tool in the "Digital text encoding" category.



The TEI Converter Story

The history of Convert.Guru began over 25 years ago in California with Tom Simondi’s file-format database. A former contributor to Space Shuttle development and a software pioneer of the 1980s, Simondi established a trusted resource for file type analysis that was even referenced by Microsoft Windows XP. Today, we use modern technology to process and convert thousands of file formats while continually improving our TEI converter.