Excel To TOML

Login

Email
Password

Don't have an account yet?

Go to Sign up

{{ workbook ? 'Online Table Editor' : 'Input Data' }}
Change File Enter Data
Row Col Row Col
Transpose Clear Delete Empty Deduplicate
ABC abc Abc
Replace
First Row as Header
{{ displayRows.length }} rows x {{ displayHeaders.length }} columns{{ firstRowAsHeader ? ' (1 header)' : '' }} {{ selectedRows.length > 0 ? selectedRows.length + ' selected' : '' }}
Output Data
{{ copied ? 'Copied!' : 'Copy to Clipboard' }} Download File
Properties
Convert Excel to TOML online — paste, edit, and download TOML.

Convert Restart
Insert Row Below
Insert Row Above
Insert Column Right
Insert Column Left
Delete Row {{ contextMenu.row + 1 }}
Delete Column {{ contextMenu.col + 1 }}
Clear Cell
Clear Row
Case sensitive Use regex Cancel Replace All

What Is TOML?

TOML (Tom's Obvious Minimal Language) is a configuration file format designed to be unambiguous and easy to read. It uses a simple key = value syntax with sections (tables) defined by [headers]:

[server]
host = "localhost"
port = 8080
debug = true

[
database]
url = "postgres://localhost/mydb"
pool_size = 10

TOML maps cleanly to a hash table (dictionary), making it trivial to parse in any programming language. It is a formal specification — not a de facto standard — which means every TOML parser produces the same output.

Where Is TOML Used?

ProjectFilePurpose
Rust / CargoCargo.tomlPackage manifest (dependencies, metadata, build config)
Pythonpyproject.tomlBuild system config, project metadata, tool settings
Hugoconfig.tomlStatic site generator configuration
InfluxDBinfluxdb.tomlDatabase server configuration
Terraform.toml filesProvider and backend configuration
NoirNoir.tomlProject configuration

TOML has largely replaced INI and custom formats in the Rust and Python ecosystems.

Why Convert Excel to TOML?

Converting Excel data to TOML is useful when:

  • Generating Cargo.toml dependency lists from a spreadsheet of crates and versions

  • Creating pyproject.toml configurations from parameter tables managed by non-developers

  • Building Hugo site configurations from content strategy spreadsheets

  • Managing environment-specific configs in Excel for porting to TOML files

  • Batch-generating TOML files for multiple services or environments

TOML Syntax Reference

Key-Value Pairs

name = "Alice"
age = 30
active = true
score = 95.5

TOML supports strings, integers, floats, booleans, and datetimes as scalar values.

Tables (Sections)

[database]
host = "localhost"
port = 5432
name = "myapp"

Each [header] defines a table. All key-value pairs below it belong to that table.

Nested Tables

[server]
host = "0.0.0.0"
[server.ssl]
enabled = true
cert = "/path/to/cert.pem"

Array of Tables

Use [[headers]] to create an array of tables:

[[products]]
name = "Hammer"
sku = 738594937

[
[products]]
name = "Nail"
sku = 284758393

This is how Excel rows map to TOML — each row becomes an entry in an array of tables.

Inline Tables

point = { x = 1, y = 2 }

Arrays

tags = ["rust", "config", "parser"]

How the Converter Maps Excel to TOML

Given this Excel data:

nameversiondescription
serde1.0Serialization framework
tokio1.35Async runtime

The converter produces:

[[row]]
name = "serde"
version = "1.0"
description = "Serialization framework"

[
[row]]
name = "tokio"
version = "1.35"
description = "Async runtime"

Each Excel row becomes an entry in an array of tables ([[row]]), with column headers as TOML keys.

Supported File Formats

FormatExtensionNotes
Excel Workbook.xlsxDefault format since Excel 2007
Legacy Excel.xlsExcel 97–2003 format
Macro-Enabled.xlsmExcel with VBA macros (data only)

Multi-sheet workbooks are supported — a sheet selector appears when multiple worksheets are detected.

Core Features

Full Table Editor

After uploading your Excel file, the built-in editor lets you:

  • Add, delete, and reorder rows and columns

  • Transpose rows to columns

  • Remove empty rows and duplicate rows

  • Apply case transformations (UPPERCASE, lowercase, Capitalize)

  • Find and replace values (with regex support)

Multi-Sheet Support

When the uploaded workbook contains multiple worksheets, a sheet selector appears in the toolbar. Select the sheet containing the data you want to convert.

Privacy

All processing happens in your browser. Your Excel files are never uploaded to any server.

How to Use the Excel to TOML Converter

Step 1 — Upload Your Excel File

Drag and drop an .xlsx, .xls, or .xlsm file onto the upload area, or click to browse. If the workbook has multiple sheets, select the desired sheet from the dropdown.

Step 2 — Edit (Optional)

Use the toolbar to modify your data before conversion. Insert or remove rows and columns, transpose the table, deduplicate rows, or apply bulk case changes.

Step 3 — Convert

Click Convert. The TOML output appears in the Output Data panel.

Step 4 — Copy or Download

Click Copy to Clipboard to paste the TOML into your configuration file, or use Download File (Premium) to save the .toml file.

TOML vs YAML vs JSON

FeatureTOMLYAMLJSON
Syntaxkey = valuekey: value"key": "value"
Comments# comment# commentNot supported
AmbiguityNone (formal spec)Significant (whitespace, anchors)None
Data typesRich (datetime, etc.)RichBasic
Arrays of tables[[table]]- key: val[{...}]
Multi-documentNot supported--- separatorNot supported
Primary useRust, Python configDevOps, CI/CDAPIs, data exchange
Learning curveLowMediumLow

TOML is preferred over YAML in the Rust ecosystem because it has zero ambiguity — there is only one valid way to parse any given TOML file, unlike YAML where edge cases and gotchas are common.

Use Cases

  1. Cargo.toml dependencies — Maintain a spreadsheet of Rust crates, versions, and features, then export as TOML

  2. pyproject.toml — Generate Python project configuration from parameter tables

  3. Hugo config — Convert site configuration data from Excel to config.toml

  4. InfluxDB config — Generate database configuration files from operational spreadsheets

  5. Environment configs — Manage dev/staging/prod configurations in Excel, export as per-environment TOML files

  6. CI/CD parameters — Keep build configuration parameters in a shared spreadsheet, generate TOML for tools that require it

FAQ

  • What Excel file formats does the Excel to TOML converter accept?

    The converter accepts .xlsx (Excel Workbook), .xls (Excel 97–2003), and .xlsm (Macro-Enabled Workbook) files. Multi-sheet workbooks are supported with a sheet selector.

  • Does the tool upload my Excel data to a server?

    No. All conversion happens entirely in your browser using client-side JavaScript. Your files are never uploaded, transferred, or stored on any server.

  • What is TOML?

    TOML (Tom's Obvious Minimal Language) is a configuration file format that maps unambiguously to a hash table. It is used for Cargo.toml (Rust), pyproject.toml (Python), config.toml (Hugo), and other configuration files in the Rust and Python ecosystems.

  • How does the converter map Excel data to TOML?

    Each Excel row becomes an entry in a TOML array of tables ([[row]]). Column headers become TOML keys, and cell values become the corresponding values. The output is valid TOML that can be used directly in any TOML parser.

  • What is the difference between TOML and YAML?

    TOML uses key = value syntax with formal unambiguous parsing rules. YAML uses key: value syntax with significant whitespace and has known parsing edge cases. TOML is preferred in Rust and Python ecosystems; YAML is more common in DevOps and CI/CD tools (Docker Compose, Kubernetes, GitHub Actions).

  • Can I convert a multi-sheet Excel workbook?

    Yes. When you upload a multi-sheet workbook, a sheet selector appears in the toolbar. Select the sheet you want to convert to TOML.

  • What TOML data types does the converter support?

    The converter outputs string values by default. TOML's native types — strings, integers, floats, booleans, arrays, and datetimes — are all supported by the format. Numeric values that appear as numbers in Excel are output as unquoted values where appropriate.

  • Can I edit my Excel data before converting to TOML?

    Yes. After uploading your file, a full table editor opens where you can add or remove rows and columns, transpose the table, deduplicate rows, change text case, and find and replace values.

Featured Tools

Featured tools that you might find useful.

Popular Tools

List of popular tools that users love and frequently use.

New Tools

The latest tools added to our collection, designed for you.

Topics

The tools grouped by topics to quickly find what you need.
Free online Excel to JSON converter. Transform XLSX, XLS, XLSM files into JSON arrays, objects, or keyed formats instantly in your browser — no upload, 100% private.

Excel To JSON

Free online Excel to JSON converter. Transform XLSX, XLS, XLSM files into JSON arrays, objects, or keyed formats instantly in your browser — no upload, 100% private.
Free Excel to CSV converter. Convert XLSX, XLS, XLSM to CSV instantly in your browser. No upload, 100% private. Edit, transpose, deduplicate before exporting.

Excel To CSV

Free Excel to CSV converter. Convert XLSX, XLS, XLSM to CSV instantly in your browser. No upload, 100% private. Edit, transpose, deduplicate before exporting.
Free online Excel to SQL converter. Generate CREATE TABLE and INSERT statements from spreadsheets for MySQL, PostgreSQL, SQLite, and SQL Server. Supports batch insert, primary keys, and type inference.

Excel To SQL

Free online Excel to SQL converter. Generate CREATE TABLE and INSERT statements from spreadsheets for MySQL, PostgreSQL, SQLite, and SQL Server. Supports batch insert, primary keys, and type inference.
Free online Excel to ASCII table converter with 10 border styles (MySQL, Unicode, reStructuredText, and more). Add code comment wrappers in 8 languages. Supports text alignment. Client-side processing.

Excel To ASCII Table

Free online Excel to ASCII table converter with 10 border styles (MySQL, Unicode, reStructuredText, and more). Add code comment wrappers in 8 languages. Supports text alignment. Client-side processing.