Formats
TOML Parser
Parse, validate, and format TOML files.
How to use it
- Open Devly from the wrench in your menu bar, or press ⌃⌥⌘D. Press ⌘P, type TOML Parser and press Return.
- Choose Format or To JSON at the top.
- Paste or type your text into Input.
- Adjust the Options on the right if you need to. The defaults are listed below.
- Press Format, or ⌘↵.
- To go the other way, press Swap or ⌘S. The output moves into the input.
- Use Copy or ⇧⌘C to copy the result. ⌘L clears everything.
Options
| Option | Values | Default |
|---|---|---|
| Sort keysSort keys alphabetically | On or off | Off |
| Inline simple tablesUse inline format for simple tables | On or off | Off |
Example
Real output from Devly, with the default options.
Input
title = "Devly" [app] version = "2.3.0" tools = 65 [price] usd = 4.99 once = true
title = "Devly" [price] usd = 4.99 once = true [app] tools = 65 version = "2.3.0"
From Terminal
With the free command-line tool installed:
Terminal
devly toml --path input.txt # or pipe text in pbpaste | devly toml
Quick Switch also finds it by: toml, config, parse, format, cargo, rust.
More Formats tools
JSON FormatterFormat, validate, and minify JSON with syntax highlightingJSON Path QueryQuery JSON data using JSONPath expressionsJSON ↔ YAMLConvert between JSON and YAML formatsYAML FormatterFormat, validate, and beautify YAML documentsXML FormatterFormat, validate, and beautify XML documentsXML ↔ JSONConvert between XML and JSON formats