BPMN XML Viewer
Open a BPMN 2.0 file, find tasks and gateways, and export the diagram as SVG, right in your browser.
BPMN XML
0 characters · 0 lines
Up to 10 MiB and 50,000 XML elements. DOCTYPE and ENTITY declarations are rejected.
Diagram
Find element
Paste BPMN XML, open a file or load an example.
Rendered with bpmn-js in your browser. Nothing is uploaded.
Related Tools
How to use
- 1.Paste BPMN XML into the input and select Open diagram, open a .bpmn or .xml file, or load an example.
- 2.Drag the canvas to pan, use the mouse wheel or the zoom buttons to zoom, and select Fit to see the whole diagram.
- 3.Choose another diagram in the picker when the file has more than one.
- 4.Type part of a label or ID in Find element and select a result to select it and scroll it into view.
- 5.Copy SVG or Download SVG exports the active diagram; editing the input pauses export until you open it again.
- 6.Reset clears the input and the canvas.
BPMN XML Viewer
This viewer renders BPMN 2.0 process files with bpmn-js, the open-source BPMN toolkit from bpmn.io, running in your browser. Before the engine sees the XML, the tool checks it itself: declarations that could load external entities (DOCTYPE and ENTITY) are rejected, the size and number of XML elements are limited, and the document root must be a BPMN definitions element. A file can hold several diagrams, for example one per process or one per collapsed subprocess; the diagram picker lists them and the export always shows the active one. The viewer only reads the file: it never changes the XML and does not lay out diagrams that have no position data.
What is checked before rendering
The XML must be well formed and at most 10 MiB with up to 50,000 elements and 128 levels of nesting. DOCTYPE and ENTITY declarations are rejected before parsing, wherever they appear, so external entities are never resolved and nothing is fetched. The root must be a definitions element in the BPMN 2.0 model namespace. Each diagram needs a plane that points to a process, collaboration or subprocess in the file; diagrams that do not are skipped and counted. Vendor extensions and documentation are read as data and not shown. Import warnings from bpmn-js, such as unresolved references, are listed and keep the export marked as partial.
SVG export and the bpmn.io watermark
The export is the SVG that bpmn-js produces for the active diagram, cleaned by the same sanitizer as the other diagram tools: scripts, links and external references are removed and reported. The bpmn.io watermark in the corner of the interactive viewer is required by the bpmn-js license and stays visible there; it is part of the viewer, not of the exported SVG. Diagrams are drawn with black lines on white, so the canvas stays white in dark mode.
Privacy
The XML is read and rendered in your browser. It is never uploaded, stored or logged, and it is not kept when you leave the page.
Frequently asked questions
- Is my BPMN file uploaded?
- No. The XML is checked and rendered with bpmn-js in your browser. It is never uploaded, stored or logged.
- Why does my BPMN file say it has no diagram layout?
- A BPMN file can describe a process without diagram interchange (BPMNDiagram) data, which holds the position of every shape. Without it there is nothing to draw, and this viewer does not lay out diagrams automatically. Export the file again from your modeler with the diagram included.
- Why is a file with a DOCTYPE rejected?
- DOCTYPE and ENTITY declarations let XML parsers load external content (XXE). The viewer rejects any file that contains them before parsing, so nothing is fetched. BPMN files from modelers do not need them.
- Does the exported SVG include the bpmn.io watermark?
- No. The watermark is part of the interactive bpmn-js viewer and stays visible there, as its license requires. The exported SVG contains only the diagram as bpmn-js exports it, sanitized.
- How do I export the second diagram of a file?
- Choose it in the Active diagram picker. Copy SVG and Download SVG always export the diagram that is shown, and stay disabled until it has finished rendering.
