formatly

Paste anything.
Get it formatted.

JSON, YAML, Mermaid, XML, SQL and Markdown, tidied as you type, with errors that point at the exact line.

Input · Mermaid
Output

Paste Mermaid on the left

Mermaid diagram viewer

Type or paste Mermaid and the diagram is drawn as you go. Syntax errors point at the line, and the finished diagram can be zoomed, panned and downloaded.

What it does

Questions

How big can a diagram be?
Up to 50,000 characters and 500 connections, Mermaid's own limits. Larger diagrams get a clear message instead of a broken drawing.
Can I use the diagram elsewhere?
Yes. Download it as an SVG to edit or embed, or as a PNG image.
Can I preview Mermaid inside a Markdown document?
Yes. On the Markdown formatter, a ```mermaid code block is drawn as a diagram in the preview, the way GitHub shows it. A diagram with an error shows its source and the problem, and the rest of the document still renders.

Other formatters

A private formatter for the formats you paste every day

Paste JSON, YAML, Mermaid, XML, SQL and Markdown on the left and get it tidied on the right as you type. Errors name the line and column. It formats and checks; it never converts one format into another.

What it does

Questions

Is my data sent to a server?

No. Formatting runs in your browser, on your own device. What you paste is kept in memory only: it is never uploaded or saved.

Can it convert JSON to YAML, or other formats?

No, on purpose. Each page formats one format and keeps it that format.

What happens with invalid input?

You get an error with the line and column instead of a half-formatted result. JSON is checked strictly, so comments and trailing commas are reported.

Is anything remembered between visits?

Your settings (like the SQL dialect) and how you arranged the panes are remembered in your browser. The text you paste is not.