Convert HTML to TEI

Turn HTML files into TEI. A TEI document with sections, lists, tables, links and footnotes; the title, author and date go into its TEI header.

Converted in an isolated sandbox on our serversDeleted after 24 hours

Drop HTML files on the dialor turn it to pick what to do

A TEI document from a web page.The text keeps its sections, lists, tables, links and footnotes.

  1. What you get

    One TEI XML file. Headings become sections, and lists, tables, links and footnotes stay in the document as such.

    The title, author and date of the page go into the TEI header, where scholarly tools look for them.

  2. What is left behind

    Scripts, styles and layout are dropped. Only the text and its structure carry over, not the look of the page.

    Images are not embedded. They stay as links to where they are.

HTML and TEI.What each format is.

The formats

From · HTML

HTML

The markup of web pages. Text, links and structure, usually with CSS and images alongside.

Extensions
.html .htm
MIME type
text/html
Kind
Text and data
To · TEI

TEI XML

Text Encoding Initiative XML, the format scholarly editions and digital humanities archives keep texts in.

Extensions
.tei
MIME type
application/tei+xml
Kind
Text and data

In your code.The same HTML to TEI conversion through the API, for your app or your agent.

terminal
$ cv convert report.html report.tei
$ cv convert report.html report.tei

Questions.What people ask about HTML to TEI.

01OF 04

They go into the TEI header, along with the date.

No. Scripts, styles and layout are dropped. The structure of the text is kept, not the design.

No. Images stay as links, so the file points to them instead of holding them.

Yes. Links and footnotes are kept in the TEI document.

More conversions.Other ways in and out of HTML and TEI.