Editor

Online Mermaid Editor, Powered by Pele

Write Mermaid syntax, preview diagrams with the Pele renderer, and export SVG or PNG in your browser. Create flowcharts, sequence diagrams and ER diagrams.

● Rendered with Pele · No account requiredTemplates ↗
Loading the editor…
Load example

From text to diagram

Learn Mermaid flowchart syntax with nodes, arrows and labeled decisions. Edit a request-processing example and review branches before exporting.

Templates · 69 ↗
YesNoUser opens Pele EditorWrite Mermaid codePreview looks right?Export PNGEdit diagram

Mermaid Code

graph TD
    A[User opens Pele Editor] --> B[Write Mermaid code]
    B --> C{Preview looks right?}
    C -- Yes --> D[Export PNG]
    C -- No --> E[Edit diagram]
    E --> B

How Mermaid, Pele and Pele Editor fit together

Mermaid is the source syntax. Pele 1.6.0 is the default renderer; you can select Mermaid.js 12.2.0 in the editor. Pele Editor provides editing and export. Layout differs between engines.

flowchart LR
  A[Draft] --> B[Review]

Pele Renderer: Mermaid Syntax, Themes and Integration

Export Pele Diagrams to SVG, PNG and PDF

Pele · Help ↗

Tools · PNG ↗ · SVG ↗ · Journal

Powerful Features for Modern Diagram Creation

The simplest way to create diagrams. Just type Mermaid syntax and see your diagrams come to life instantly.

Live Preview

The editor renders your diagrams in real-time as you type, giving you instant feedback on your syntax.

Multiple Formats

Support for Flowcharts, Sequence Diagrams, Gantt Charts, Class Diagrams, State Diagrams and more.

Code-First

Keep your diagrams version controllable and easy to edit. No more dragging and dropping pixel-imperfect boxes.

No Sign-Up Required

Start creating diagrams immediately in your browser. No account registration, no downloads, no installations needed.

Version Control Friendly

Store your diagrams as plain text in Git. Track changes, collaborate with teams, and maintain diagram history effortlessly.

Easy Export

Copy your Mermaid code to use in Markdown files, GitHub READMEs, documentation sites, or any platform supporting Mermaid.js.

How to use Pele Editor

  1. 01

    Mermaid

    Write or paste Mermaid source, such as the two connected nodes in this example.

  2. 02

    Pele

    Check the live Pele preview and correct any syntax errors.

  3. 03

    SVG / PNG / .mmd

    Save the editable .mmd source or choose an image format and export.

Diagram types you can create

Explore supported diagram types and editable examples.

Flowcharts ↗

Visualize processes, workflows, and algorithms with nodes and directional arrows. Perfect for business processes and decision trees.

Sequence Diagrams ↗

Document interactions between different actors or systems over time. Ideal for API documentation and system design.

Class Diagrams ↗

Model object-oriented systems with classes, attributes, and relationships. Essential for software architecture planning.

State Diagrams ↗

Represent state transitions in systems or applications. Great for modeling lifecycle states and workflows.

Gantt Charts ↗

Plan and track project timelines with tasks and dependencies. Perfect for project management and scheduling.

ER Diagrams ↗

Design database schemas with entities and relationships. Ideal for database modeling and documentation.

User Journey ↗

Map user experiences and interactions across touchpoints. Excellent for UX design and customer journey mapping.

Git Graphs ↗

Visualize Git branching strategies and commit histories. Helpful for explaining version control workflows.

Common diagram use cases

Pele Editor for your workflow

Software Developers

Document code architecture, design patterns, and system flows. Embed diagrams directly in your GitHub README or technical documentation.

Project Managers

Create Gantt charts for project planning, flowcharts for process documentation, and timeline visualizations for stakeholder presentations.

Educators & Students

Explain complex concepts with clear visual diagrams. Create educational materials, study guides, and course documentation.

Technical Writers

Enhance documentation with professional diagrams. Keep visual assets synchronized with code using version-controlled text files.

Why use Pele Editor?

Write, preview and export diagrams in your browser.

No account required

Use the editor and available tools without creating an account or subscribing.

Local editing

Editing and rendering run in your browser. Creating a short share link uploads the selected diagram and its theme to the server for 30 days.

Live feedback

Preview changes while you edit. Rendering time depends on the size and complexity of the diagram.

Powered by Pele

Pele renders Mermaid syntax with its own layout. See the compatibility guide for supported features and differences.

Benefits of Text-Based Diagrams

Discover why developers and teams love code-first diagramming

Maintainable Documentation

Unlike image-based diagrams that become outdated, text diagrams can be updated as easily as changing a line of code.

Seamless Collaboration

Review diagram changes in pull requests, track modifications in Git history, and resolve conflicts just like code.

Automated Integration

Text sources can be generated in your own CI or documentation pipeline, then rendered with a compatible library. This website does not run those pipelines.

Consistent Styling

Pele arranges and styles the diagram from your source. Adjust the diagram theme without positioning each shape manually.

Frequently Asked Questions

What is Pele?

Pele is the diagram rendering library used by Pele Editor. It is lightweight, renders quickly and supports flexible theme colors, making it well suited to previewing diagrams as you edit. Write diagrams with Mermaid syntax and preview them in your browser. Pele has its own layout and styling, so results and supported features may differ from Mermaid.js.

Is this editor free to use?

Yes. The editor and browser-based tools are free to use, and no account or subscription is required.

How do I save my diagram?

Copy the Mermaid code, download a .mmd source file, or export an image. The homepage also saves a local draft in this browser. Download a source file for a durable backup.

What diagram types are supported?

The diagram navigation contains 18 diagram families, each with an example and a guide. Pele compatibility is described on the linked compatibility page; not every Mermaid.js extension is supported.

Pele · Help ↗
Can I use this for commercial projects?

You can use your own diagram content in work, presentations and documentation. Check the licenses of any third-party content you include; this editor does not grant rights to that content.

Do I need to install anything to use this Pele Editor?

No browser extension or account is required. Open Pele Editor in a modern browser. Clipboard, fullscreen and print features depend on your browser and its permissions.

How is this different from other diagram tools like Visio or Draw.io?

Here you describe the structure with text instead of placing shapes individually. This makes changes easy to compare in version control. Visual builders help create the text for supported diagram types.

Can I export diagrams as images?

Yes. Export SVG, PNG, JPG or WebP from the editor. The PDF action opens a diagram-only print view so you can save it as PDF. Export uses the complete diagram, not only the zoomed viewport.

Does this work offline?

Rendering happens locally, but diagrams and converters load modules on demand. Without a connection, a feature that has not loaded yet may fail. This site does not promise offline installation or offline reloads.

Where can I learn Mermaid syntax?

Open a diagram guide, the syntax cheat sheet, or a template. Each provides Mermaid source you can edit and preview.

Cheat sheet ↗
How is this different from mermaid.live (the official Mermaid Live Editor)?

mermaid.live is the official Mermaid Live Editor. This independent project uses Pele and provides visual builders, SQL and PlantUML conversion, dedicated export pages and localized navigation.

Can I export Pele diagrams to PNG, SVG, JPG, WebP or PDF?

Yes. Use the export format selector or a dedicated conversion page. Raster exports support scale and background controls; JPG and WebP also provide quality settings. PDF uses the browser print dialog.

Can I convert SQL CREATE TABLE statements into an ER diagram?

The SQL converter accepts the documented MySQL, PostgreSQL, SQLite and MariaDB examples, detects foreign keys, and can infer relations from _id columns. Unsupported SQL produces a warning or an error.

SQL → Mermaid ↗
Can I convert PlantUML diagrams for use in Pele?

The PlantUML converter supports sequence, class, activity and use case inputs. It reports approximate or unsupported features. Multiple .puml files can be converted into a ZIP with a batch report.

PlantUML → Mermaid ↗
Does Mermaid render inside Markdown files on GitHub, GitLab, or Notion?

Copy the generated source into a fenced block marked mermaid on a platform that supports it. The destination platform controls rendering and may use a different Mermaid version or layout.

How are Pele and Mermaid different?

Mermaid provides diagram syntax and a rendering library, Mermaid.js. Pele is a separate renderer that supports Mermaid syntax with its own layout and styling. This editor uses Pele. When you copy source to another app, that app chooses the renderer, so appearance and supported features can differ.

Start Creating Diagrams Today

No sign-up required. Just start typing and watch your ideas come to life.

Editor ↑