Diagram.RS

Draw any diagram, right in your browser

Diagram.RS is a free online diagram maker for developers, students and teams. Write simple text using the Mermaid syntax and instantly see a flowchart, sequence diagram, or other diagram rendered live. Everything runs locally in your browser – nothing is uploaded to a server.

Diagram code
Preview
Theme
Default
Try an example

How to create a diagram online

  1. Choose a diagram type below, or start typing Mermaid syntax directly in the code editor.
  2. Watch the preview update live as you type – no 'render' button needed.
  3. Use the example buttons to load ready-made templates for flowcharts, sequence diagrams and more.
  4. Download your diagram as SVG or PNG once you're happy with it.

Frequently asked questions

Is Diagram.RS free to use?
Yes. The editor, preview and export to SVG/PNG are completely free, with no sign-up required.
What diagram syntax does Diagram.RS support?
Diagram.RS uses the Mermaid syntax, a simple text-based language for describing flowcharts, sequence diagrams, ER diagrams, class diagrams, Gantt charts and more.
Does my diagram data get uploaded anywhere?
No. Diagrams are rendered entirely in your browser. Nothing you type is sent to our servers.

Explore diagram types