Convert IPYNB to T2T

Turn IPYNB 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 IPYNB files on the dialor turn it to pick what to do

A notebook as a txt2tags document.Every cell lands in one T2T file, in the order it has in the notebook.

  1. What you get

    One T2T file with headings, lists, tables and links. Cells come in order: Markdown cells become the text of the document, code cells become code blocks, and text outputs appear below the code that made them.

  2. What changes

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

    Plots keep only their text placeholder, so the picture itself is not in the T2T file.

  3. What is left behind

    Raw cells and notebook metadata are dropped.

    A line that starts with a percent sign is a comment in txt2tags, and txt2tags hides it. Keep that in mind when you read the result through the txt2tags tool.

    To go the other way, use T2T to IPYNB.

IPYNB and T2T.What each format is.

The formats

From · IPYNB

Jupyter Notebook

Jupyter notebooks. Code cells, their outputs and Markdown notes in one JSON file.

Extensions
.ipynb
MIME type
application/x-ipynb+json
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 IPYNB to T2T conversion through the API, for your app or your agent.

terminal
$ cv convert report.ipynb report.t2t
$ cv convert report.ipynb report.t2t

Questions.What people ask about IPYNB to T2T.

01OF 04

Text outputs are kept and sit below their code blocks. Plots keep only their text placeholder.

Yes. Every cell comes in order, so the T2T file reads like the notebook from top to bottom.

No. Raw cells and notebook metadata are dropped.

Block quotes become plain paragraphs. Footnotes are written in parentheses where they are marked.

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