A browser editor for TEI-XML

teiCrafter opens any TEI document and lets you correct the text and annotate entities with authority identifiers (GND, GeoNames, Wikidata). Where a facsimile is linked, text and page image appear side by side. It runs in the browser; your file stays local.

Research preview. teiCrafter is a research prototype developed with coding agents. It is not a finished or supported product, and its results need checking before any reuse. Feedback belongs in the issues of the repository.

teiCrafter editor showing page 3 of a 1901 letter by Stefan Zweig to Max Fleischer: the transcribed lines as reading text on the left, the facsimile of the handwritten page on the right
Letter by Stefan Zweig to Max Fleischer, 1901, from Stefan Zweig Digital, Literaturarchiv Salzburg, under CC BY 4.0 (licence notice).

How teiCrafter treats your document

Lossless saving

Your edits go into the original file text and nothing else changes: whitespace, attribute order, comments and entity notation outside the edited passages remain untouched. A document saved without edits is identical to the opened file. Direct saving to disk requires a Chromium-based browser; elsewhere the file is offered as a download.

No configuration needed

The editing unit is read from the document itself: words where the edition encodes <w>, lines otherwise. Image zones and text are linked through @facs, so selecting one highlights the other.

Validated while you type

As you edit, the editor checks that the XML stays well-formed and that its structure is preserved (identifiers and element counts unchanged), and reports the result next to the text. How machine-generated content is handled is described in About.

Status

teiCrafter is a research preview. It stays one until editors and users have accepted it for their work and a release has been decided. The technical scope that has been tested so far is recorded in the verification reports.