How to use
- Paste TOML, open a UTF-8 file or try the Sample.
- Choose indentation and format the document.
- Review the preserved comments and values, then copy or download.
TOML Formatter
Paste TOML or open a UTF-8 file. The parser validates TOML 1.1 before adjusting spacing, indentation of multiline containers and excess blank lines. Invalid documents are not rewritten.
Processing stays in your browser. DevToolsy does not receive the pasted data or selected file.
Input and processing
Choose two or four spaces. Key/value separators and comma spacing are normalized while table/key order, comments, number spelling and multiline string contents remain intact.
# Project configuration
title="DevToolsy"
ports=[3000,8080]
[server]
host="127.0.0.1"
workers=4 # local workers
# Project configuration
title = "DevToolsy"
ports = [3000, 8080]
[server]
host = "127.0.0.1"
workers = 4 # local workers
This example uses the default settings.
Result and limitations
Formatting checks syntax, not application-specific settings or schemas. It does not sort keys, resolve external schemas, execute directives or convert the document through JSON.
Using the output
Review the preserved comments and values, then copy or download.
UTF-8 input up to 1 MiB; output up to 8 MiB. Processing stops after 30 seconds.
Frequently asked questions
What does TOML formatting change?
Paste TOML or open a UTF-8 file. The parser validates TOML 1.1 before adjusting spacing, indentation of multiline containers and excess blank lines. Invalid documents are not rewritten.
Are comments and exact value tokens preserved?
Choose two or four spaces. Key/value separators and comma spacing are normalized while table/key order, comments, number spelling and multiline string contents remain intact.
Does formatting validate application configuration?
Formatting checks syntax, not application-specific settings or schemas. It does not sort keys, resolve external schemas, execute directives or convert the document through JSON.
Is the input uploaded?
Processing stays in your browser. DevToolsy does not receive the pasted data or selected file.
Can I keep the result?
Review the preserved comments and values, then copy or download.