Convert TOML to DOCX
Turn TOML files into DOCX. A Word document with the default styles, with Word headings, lists and tables.
Converted in an isolated sandbox on our serversDeleted after 24 hours
Drop TOML files on the dialor turn it to pick what to do
Your TOML as a Word document.Every key and value is kept exactly as the file has it.
What you get
A Word document with the default styles. Each object lists its plain values first as key: value lines, and small objects and lists of plain values are nested under their key. Larger parts follow under Word headings named after their keys, down to six levels, and as nested lists below that.
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.
What stays as written
Keys and values are written exactly as the file has them. Long numbers are not rounded, and numbers keep their underscores and their hexadecimal, octal or binary form. Dates and times stay as written text.
Tables and keys keep their written order. Dotted keys become nested objects. Comments are dropped.
Size limit
A file with more than 100,000 values stops with
resource_limit. For other TOML conversions, see every TOML conversion.
TOML and DOCX.What each format is.
The formats
TOML
TOML configuration files, the format of Cargo and pyproject.
- Extensions
- .toml
- MIME type
- application
/toml - Kind
- Text and data
Word Document
Word's default document format since 2007. A zip of XML parts with the text, styles, images and tracked changes.
- Extensions
- .docx
- MIME type
- application
/vnd .openxmlformats -officedocument .wordprocessingml .document - Kind
- Documents
In your code.The same TOML to DOCX conversion through the API, for your app or your agent.
$ cv convert report.toml report.docx$ cv convert report.toml report.docxQuestions.What people ask about TOML to DOCX.
Yes. Tables and keys keep their written order. In a table made from a list of objects, the columns follow the order in which the keys first appear.
No. Long numbers are not rounded. Underscores and hexadecimal, octal or binary forms are kept as written.
They are dropped. Only the keys and values appear in the Word document.
The file has more than 100,000 values. The conversion stops with resource_limit at that point.