TOML Formatter
Format and validate TOML with consistent structure and optional key sorting.
Format and clean Java .properties files, with options to sort keys, remove duplicates, and convert to YAML or JSON.
This tool helps you format, clean, and convert Java .properties files — the configuration format used in Java and Spring Boot projects.
It supports sorting keys alphabetically, removing duplicate entries, unifying separators, aligning values, and preserving comments. It can also convert dotted-key properties into a nested YAML structure or a flat JSON object, which is useful when migrating between frameworks or cleaning up legacy configuration files.
Both `=` and `:` are recognized as separators in the input. For the output, you can choose between `=`, ` = ` (with spaces), `:`, and `: ` in the Format tab options.
Yes. Unicode escape sequences like `\uXXXX` in the input are decoded to their actual characters during parsing. The output uses the decoded characters directly.
Yes. If a line ends with `\`, it is joined with the next line and treated as a single value.
A key like `server.port=8080` is converted to a nested YAML structure such as `server: port: 8080`. All dots in a key are interpreted as hierarchy separators.
Yes, the tool is compatible with the Spring Boot application.properties format. Spring-specific placeholders like `${...}` are treated as plain strings.