Skip to content

What is ALTO?

  • ALTO stands for Analyzed Layout and Text Object
  • XML-based open standard
  • Schema hosted at the Library of Congress (LOC)
  • Maintained by the ALTO Board
  • Current version: 4.4

What does ALTO do?

  • Contains the content of a single page
  • Describes the layout of a printed page to re-build the original
  • Describes styles, layout, and block type information
  • May contain tags with additional content information (e.g. named entities)

What does an ALTO file look like?

ALTO XML details technical metadata for describing the layout and content of physical text resources, such as pages of a book or newspaper. ALTO files usually have three sections:

1. Description

This section contains technical information related to the ALTO file — the measurement unit used and information about the OCR software.

2. Styles

Collects information about the layout style of the described page, including font family, style, size, paragraph spacing, and alignment.

3. Layout

The core content of the ALTO file. All objects on the page — words, lines, text blocks, pictures, and tables — are listed here with coordinates and OCR transcription where applicable. The structure can be flat or more complex depending on the type of material. Later versions of the ALTO schema also support handwritten material and allow multiple OCR results with probability values.

For more details see the official ALTO structure documentation.

ALTO file structure diagram