C4 vs UML vs BPMN

C4 vs UML vs BPMN: Picking the Right Diagram Standard for Your Team

C4, UML, and BPMN answer different questions. Use C4 for system zoom levels, UML for software structure and behavior, BPMN for business processes with roles and exceptions. Generate each as an editable diagram.

They are not competing. They answer different questions.

Teams stall on this choice because comparison pages treat C4, UML, and BPMN as three brands of the same product. They are not. C4 is a zoom policy for architecture diagrams. UML is a software modeling language. BPMN is a business-process language.

The useful question is: what does this audience need to decide or do? Then pick the notation that already has words for that.

Side-by-side

DimensionC4UML 2.5.1BPMN 2.0
QuestionWhat is the system, at which zoom?How is the software structured / how does it behave?How does the business process run, with which roles and exceptions?
SpecSimon Brown's C4 model (not ISO)UML 2.5.1 — ISO/IEC 19505BPMN 2.0 — ISO/IEC 19510
AudienceStakeholders → architects → implementersDevelopers and software architectsOperations, process owners, automation engineers
Wrong useMixing Context people with Container databasesClass diagram for a business approval processPools and gateways for cloud architecture

Pick by the job

A working set, not a single diagram

For an order platform, a complete picture is three diagrams: a C4 Container in the ADR, a UML sequence in the API review, and BPMN for the fulfillment process operations runs. Forcing those onto one canvas makes the diagram unreadable.

How flow-chart.io generates each

Same editor. Different domain. The output is a typed scene graph — not a flattened screenshot. Native BPMN XML (.bpmn) export is not currently supported; JSON holds the typed structure; SVG/PNG/PDF cover documents.

Frequently asked questions

What is the difference between C4, UML, and BPMN?
C4 (Simon Brown) is a set of four architecture zoom levels: Context, Container, Component, and Code. UML 2.5.1 (ISO/IEC 19505) is a family of software diagrams — class, sequence, state, activity, component, use case. BPMN 2.0 (ISO/IEC 19510) is a business-process notation: pools, lanes, events, tasks, and gateways. They are complementary. C4 tells you what the system is. UML tells you how the software is structured and how it behaves. BPMN tells you how a business process runs, with which roles, and what happens when it fails.
Should I use C4 or UML for software architecture?
Use C4 when the audience needs a controlled zoom: executives get Context, engineers get Container, the team owning one service gets Component. Use UML when you need software-precise structure (class diagrams) or behavior over time (sequence diagrams). C4 Code is deliberately a UML class diagram.
When should I use BPMN instead of a flowchart or UML activity diagram?
Use BPMN when the process has roles, exceptions, timers, messages between organizations, or will be handed to an automation engine (Camunda, jBPM, Flowable). A flowchart is fine for a solo decision path. A UML activity diagram is fine for software control flow.
Are C4, UML, and BPMN competing standards?
No. They occupy different layers. A healthy team often keeps all three: C4 Container for the system map, UML sequence for a critical API path, BPMN for the invoice or onboarding process that operations actually runs.
Can AI generate C4, UML, and BPMN diagrams?
Yes, if the output is typed diagram objects rather than a picture of boxes. flow-chart.io generates C4, UML, and BPMN 2.0 as an editable scene graph. Native BPMN XML (.bpmn) export is not currently supported; JSON captures the typed structure for re-import.
What C4 level corresponds to a UML class diagram?
C4 Code (L4). Simon Brown's model uses a UML class diagram at that zoom. Do not put classes on a C4 Context or Container diagram.
Can one tool generate all three, or do I need Structurizr plus PlantUML plus Camunda Modeler?
Specialist tools still win for some jobs: Structurizr for C4-as-code, PlantUML/Mermaid for diagram-as-code, Camunda Modeler when you need executable BPMN XML. flow-chart.io is the right default when you want one editor that produces editable C4, UML, and BPMN from a description.
Generate your first diagram free.

Start free — no credit card required.

Get started free →