Convert T2T to HTML

Turn T2T files into HTML. A standalone page with headings, lists, tables, links and footnotes.

Converted in an isolated sandbox on our serversDeleted after 24 hours

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

A standalone HTML page from txt2tags.Headings, lists, tables, links and footnotes carry over into one page.

  1. What you get

    One HTML file that stands alone as a page. Headings, lists, tables, links and footnotes from the T2T document are all kept.

    The three header lines become the title, author and date of the page. They also stay as the first paragraph, so the text shows in the body as well.

  2. What changes or is dropped

    Settings and comments in the T2T file are dropped. They do not appear in the HTML.

    The %%date macro prints 1970-01-01, not the day of the conversion. Check any date that comes from that macro before you publish the page.

    A bare e-mail address becomes a broken link that shows mailto: before it. Images stay as links and are not embedded in the page.

T2T and HTML.What each format is.

The formats

From · 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
To · 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

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

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

Questions.What people ask about T2T to HTML.

01OF 04

Yes. Headings, lists, tables, links and footnotes are all part of the page.

No. The %%date macro prints 1970-01-01.

The three header lines become the title, author and date of the page. They also stay as the first paragraph.

No. Images stay as links, so the page points to them and does not hold them.

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