Clean Mermaid

Strip Markdown fences, smart quotes, and AI chat fluff from Mermaid paste — then preview or open in the Editor.

All processing on this page runs locally in your browser unless noted otherwise.

Preview of cleaned source

How to use

  1. Paste the model reply or Markdown snippet on the left.
  2. Click Clean and review the right pane + preview.
  3. Copy or Open in Editor to export.

FAQ

Does this use AI?

No. It applies conservative text rules: strip fences, normalize quotes, and drop obvious chat prose.

Can it break valid diagrams?

It tries not to. Keep the original on the left; only the cleaned result is overwritten on Clean.

Related tools