Convert HTML to T2T

Turn HTML files into txt2tags. A txt2tags document with headings, lists, tables and links; footnotes are written in parentheses where they are marked, block quotes become plain paragraphs, a table's header row becomes an ordinary row, and a line that starts with a percent sign is a comment that txt2tags hides.

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 txt2tags document from a web page.Headings, lists, tables and links carry over. Scripts and styles do not.

  1. What you get

    One T2T file with the page's headings, lists, tables and links written in txt2tags markup. You can run it through the txt2tags tool to produce other formats.

    Images stay as links, so the picture is referenced in the document but not embedded.

  2. What changes or is left behind

    Scripts, styles and layout are dropped. Only the content structure remains.

    Footnotes are written in parentheses at the place where they are marked. Block quotes become plain paragraphs. A table's header row becomes an ordinary row.

    A line that starts with a percent sign is a comment in txt2tags, and txt2tags hides it.

  3. Going the other way

    To turn a txt2tags document back into a web page, use T2T to HTML. For other targets, see every HTML conversion.

HTML and T2T.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 · T2T

txt2tags

txt2tags documents, plain text with light markup that the txt2tags tool turns into many formats.

Extensions
.t2t
MIME type
text/x-txt2tags
Kind
Text and data

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

terminal
$ cv convert report.html report.t2t
$ cv convert report.html report.t2t

Questions.What people ask about HTML to T2T.

01OF 04

Yes. Links and tables are written into the T2T file along with headings and lists.

They stay as links. The images are not embedded in the T2T file.

No. Scripts, styles and layout are dropped.

They are written in parentheses where they are marked in the page.

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