Handy Dev Tools
Simple online tools for everyday tasks.

No favorites

    Base64 Encoder/Decoder
    Markdown to HTML
    HTML to Markdown
    URL Encoder/Decoder
    Unicode Escape Converter
    Unicode Encode/Decode
    SQL Formatter
    SQL Splitter
    JSON Formatter
    XML Formatter
    YAML Formatter
    GraphQL Formatter
    JSON to YAML Conversion
    YAML to JSON Conversion
    JSON to TOML Conversion
    TOML to JSON Conversion
    HTML Entity Encode/Decode
    TOML to YAML Conversion
    YAML to TOML Conversion
    CSV to SQL INSERT Conversion
    Markdown Table Generator
    JSON to XML Conversion
    XML to JSON Conversion
    UUID Generator
    ULID Generator
    Password Generator
    Hash Generator
    Lorem Ipsum Generator
    Lorem Picsum Image URL Generator
    Test Data Generator Tool
    QR Code Generator
    S3 Path Parser & Converter
    IP Address Calculator
    Subnet Split
    Subnet Consolidation
    CloudFront Signed URL Generator
    RDS Connection String Generator
    Coordinate Format Converter
    Geo Format Converter
    JWT Decoder & Parser
    Basic Auth
    Password Strength Analyzer
    Credit Card Validator
    RSA Key Pair Generator
    Case Conversion
    Romaji Conversion
    Roman Numeral Conversion
    Phonetic Code Conversion
    Character Counter
    Text Diff
    HTML Tag Remover
    Regex Tester
    Color Conversion
    Dice Roll
    Crontab generator
    Crontab parser
    Emoji Picker
    DateTime Converter
    HTTP Status Code Search
    Port Number Search
    MIME Type Lookup
    Base64 File Converter
    Image Base64 Encode/Decode
    JSON to XML Conversion
    XML to JSON Conversion
    User-Agent Parser
    URL Parser
    OGP Checker
    Commit Message Generator
    Chmod Calculator
    Terminal GIF Generator
Ctrl+K

TOML to JSON Conversion

Convert TOML data to JSON format. Useful for API integration and config compatibility. Enter text or upload a file (up to 100KB) and see real-time conversion results.

TOML Input
JSON Output
Read Only

How to use

About this tool

Converts TOML strings to JSON.

How to use

Paste TOML; the JSON output can be copied.

Use cases

• Converting TOML (e.g. Cargo.toml) to JSON for APIs/tools • Unifying config formats • Readability and processing

Code Examples

TOML input example (before)
Read Only
1# Comments are ignored
2[package]
3name = "my-app"
4version = "1.0.0"
5
6[database]
7host = "localhost"
8port = 5432
9enabled = true
10
11[[servers]]
12host = "api.example.com"
13[[servers]]
14host = "cache.example.com"
JSON output example (after)
Read Only
1{
2  "package": {
3    "name": "my-app",
4    "version": "1.0.0"
5  },
6  "database": {
7    "host": "localhost",
8    "port": 5432,
9    "enabled": true
10  },
11  "servers": [
12    { "host": "api.example.com" },
13    { "host": "cache.example.com" }
14  ]
15}

How it works

■ What is TOML? TOML (Tom's Obvious, Minimal Language) is a human-readable format for config files. It supports key=value pairs, [sections], arrays, and types such as dates, integers, floats, and booleans. It is widely used in Rust (Cargo.toml), Python (pyproject.toml), and elsewhere. ■ What is JSON? JSON (JavaScript Object Notation) represents key-value pairs, arrays, and nested objects as text. It is commonly used for API requests/responses and data exchange. ■ How conversion works The tool parses the TOML string into an intermediate object, then serializes it to formatted JSON (2-space indent). Date and datetime values are output as ISO 8601 strings. All processing runs in the browser.

Privacy and data

Conversion runs entirely in the browser; TOML and JSON are never sent to a server.