Skip to content

Install ALink Tools

Free browser tools for images, PDFs, media, text and web checks. Most tools process files locally on your device.

  1. Tap the Share button in the Safari toolbar.
  2. Scroll down and tap Add to Home Screen.
  3. Tap Add. ALink Tools then opens from your Home Screen like an app.

Mermaid Diagram Editor

Type Mermaid syntax and render a diagram on this device. The Mermaid library is loaded only when you render, with a strict security level that does not run HTML labels or click hooks.

Runs in your browserRuns in your browserLoaded on demandExport SVG or PNG
1

Input

2

Result

Preview

How to use Mermaid

  1. Enter Mermaid sourcePaste a flowchart, sequence, class, or other supported diagram, or start from an example.
  2. Render the diagramMermaid loads in this tab and draws the preview. Nothing is sent to a server.
  3. Export or copyDownload SVG or PNG, or copy the source to use in documentation.

Limits and how it works

  • The source stays on your device and is not uploaded.
  • Diagrams that rely on HTML labels or click hooks will not behave the same as they would with a loose security level.
  • Very large diagrams may be slow or may hit the character limit.
  • This is not a substitute for mermaid.live accounts, versioned files, or a documentation site.

How Mermaid diagrams are rendered on this page

This page renders Mermaid diagrams in your browser with the MIT-licensed Mermaid 11 library. The library is loaded only when you render a diagram, so it is not part of the site's main script.

Rendering uses Mermaid's strict security level. HTML in node labels is encoded, and click or callback hooks are not executed. Icon packs are not fetched from the internet.

Your source and the rendered diagram stay in this tab. Closing or refreshing the page discards unsaved work unless you already copied or downloaded it.

Frequently asked questions

Is my diagram uploaded?

No. Rendering happens in your browser. Nothing is sent to a server.

Why are HTML labels disabled?

The editor uses Mermaid's strict security level so labels cannot run HTML or scripts. Type plain text labels instead.

Does the Markdown editor also render Mermaid?

No. The Markdown editor does not render Mermaid fences. Use this page for diagrams.

Which Mermaid version is this?

Mermaid 11.17.2, loaded on demand, with the MIT license.

Related tools

All tools