Edit and preview
Start with valid Mermaid syntax and check the rendered structure while changing the source. Parser feedback helps locate syntax problems.
Edit diagrams from source
Paste Mermaid code, inspect the live diagram, and export SVG or PNG in the editor above. Choose a focused tool below when you need help with one diagram type. The same workspace draft continues across the Mermaid tools and the general editor.
Use the source as the maintainable version of your diagram. The preview helps you check labels, branches, and relationships before publishing an image.
Start with valid Mermaid syntax and check the rendered structure while changing the source. Parser feedback helps locate syntax problems.
The browser restores the draft for the current workspace. This is local continuity, not a substitute for saving a project or keeping a source copy.
Choose a Mermaid theme and check contrast against the background where the diagram will be used.
The chat panel can help create or revise source. AI usage depends on account access and limits; saving a project requires sign-in.
Start small enough to inspect each connection. Add detail after the first version renders and answers the intended question.
Use a declaration such as flowchart LR, sequenceDiagram, classDiagram, erDiagram, stateDiagram-v2, or gantt. Paste source without the surrounding Markdown code fence.
Resolve syntax feedback, then inspect direction, labels, and the meaning of each relationship. Successful rendering does not prove business logic is correct.
Click the SVG or PNG button at the top right of the preview, share the current draft, or sign in to save a project. Keep the source so structural changes remain easy.
Keep the Mermaid source in either case. The exported image is the published result, not the source model.
Use SVG where supported by a README, documentation site, or webpage. Check fonts and labels in the actual viewer; full editing in a design application is not guaranteed.
Mermaid to SVG →Use PNG where the destination requires a raster image. It has fixed pixels and a filled background: dark with the dark theme, white with other themes. Custom size and transparency are not options here.
Mermaid to PNG →You can edit source, preview diagrams, choose themes, and download SVG or PNG without signing in. Saving a project requires sign-in; AI access depends on account and usage limits.
Mermaid tool pages and the general editor share the current workspace draft in this browser. Existing source takes priority over page examples, so opening a focused tool does not overwrite your work.
No. A browser draft helps resume work locally and can be lost if browser storage is cleared. Sign in and save a project for account-based access, and keep a separate source copy when needed.
Use flowchart for process paths, sequenceDiagram for ordered messages, classDiagram for software types, erDiagram for database relationships, stateDiagram-v2 for lifecycles, and gantt for dated schedules. Newer syntax may require a Mermaid version not yet used by this editor.
For an unsigned-in user, sharing the current diagram creates a snapshot of that diagram. Later edits do not update that snapshot. Saved project sharing is a separate workflow with explicit diagram selection.
The chat panel is available in the workspace on this page. Use it to create or revise diagram source, subject to account access, model availability, and usage limits. Review the generated source and diagram before relying on them.