Convert TOML to MD

Turn TOML files into Markdown. GitHub-flavored Markdown that escapes what Markdown would read as formatting, so values such as *note*, # or <b> show as written; a value with line breaks keeps them, and one with indented lines becomes a code block.

Converted in an isolated sandbox on our serversDeleted after 24 hours

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

A TOML file as a readable Markdown document.Keys become text, tables become headings and tables, and every value stays as written.

  1. What you get

    One Markdown file. Each object lists its plain values first as key: value. Small objects and lists of plain values sit under their key.

    Larger parts follow under headings named after their keys, down to six levels and as nested lists below that.

  2. How lists and tables turn out

    A list of objects that hold only plain values becomes one table. It has a column for every key in first-seen order, and numbers are aligned right. A list of lists of plain values becomes a table without a header row.

    The objects of any other list each get a heading numbered from 1.

  3. What stays and what goes

    Every key and value is kept and written exactly as the file has it. Long numbers are not rounded, and dates and times stay as written. Numbers keep their underscores and their hexadecimal, octal or binary form.

    Tables and keys keep their written order, and dotted keys become nested objects. Comments are dropped.

  4. Limits

    A file with more than 100,000 values fails with resource_limit.

TOML and MD.What each format is.

The formats

From · TOML

TOML

TOML configuration files, the format of Cargo and pyproject.

Extensions
.toml
MIME type
application/toml
Kind
Text and data
To · MD

Markdown

Plain text with light markup for headings, lists, links and code. What agents and developers write in.

Extensions
.md .markdown .mdown
MIME type
text/markdown
Kind
Text and data

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

terminal
$ cv convert report.toml report.md
$ cv convert report.toml report.md

Questions.What people ask about TOML to MD.

01OF 04

No. Comments are dropped. Keys, values and their order are kept.

No. Long numbers are not rounded, and underscores and hexadecimal, octal or binary forms stay. Dates and times stay as text, as written.

They become nested objects. A key such as a.b is written under a, in the same way as a table.

It stops with resource_limit when the file has more than 100,000 values. For other formats, see every TOML conversion.

More conversions.Other ways in and out of TOML and MD.