EKGLab Megacode Simulator

ACLS megacode simulatorMegacode practice on a working defibrillator

An ACLS simulator in your browser: run megacodes on a 3D monitor-defibrillator. Read the rhythm, charge, shock, pace and give the drugs while the case runs, then see every step you took, and when, in a scored debrief.

No account needed for the demo. Every rhythm is synthetic, drawn live for teaching.

8megacodes on the 2025 sequences
11stations, one algorithm each
15reactive patients in free play
∞possibilities in free play and instructor-led scenarios
The EKGLab Megacode Simulator's monitor-defibrillator in DEFIB on ventricular fibrillation, charged to 200 J: Charged. Stand clear. Press 3 SHOCK.

Try the megacode simulation, free

Free play is open, and so is one megacode: Chest pain in the emergency department. Run it as the instructor, with the script and the checklist in front of you, or lead it yourself as a Self-test. No account, nothing to install.

Demo: no account neededOpen full screen
The Megacode Simulator during a megacode: the device on unstable ventricular tachycardia, the code clock, the next step and the instructor's checklist, and the order bar along the bottom.
About 6 MB. Best on a laptop or desktop.

The simulator needs a laptop or desktop screen. Open the demo on a wider screen to try it.

M turns the selector2 charges3 shocksC starts compressions/ lists every order in a case

How megacode practice works

The case follows its script, every action is timed, and the debrief checks what was done against the algorithms of the AHA's 2025 guidelines.

  1. Choose a case and who leads

    8 megacodes follow the 2025 megacode testing sequences, and 11 shorter stations each take one part of the algorithms.

    Lead it yourself as a Self-test, or run it for a team as the instructor. Practice gives the next step and its reason after each action; Test gives nothing until the debrief.

    Lightheaded and pale11 minBradycardiaPulseless VTPEAPost-arrest care
    Short of breath at home15 minBradycardiaVFAsystolePost-arrest care
    Chest pain in the emergency department12 minUnstable tachyVFPEAPost-arrest care
  2. Run the code on the device

    The rhythms change as the case moves on. The team's orders sit on a bar along the bottom: compressions, rhythm checks, oxygen, an IV, epinephrine, amiodarone and more, each with its own key.

    The device is yours to work: turn the selector, set the energy, charge, shock, synchronize, pace. The code clock, the cycle timer and the time since epinephrine run above the console.

    A megacode in progress: the code clock at 0:35, the case's stages, the next step from the coach, the instructor's checklist and the order bar with roles, oxygen and IV access done.
  3. Read the debrief

    Each checklist step is marked met or not met, with the time it was done and the source it comes from. A timeline lays out the rhythms, the compressions, the shocks and the vitals.

    The numbers include time to compressions, time to the first shock, time to epinephrine and the chest compression fraction. A case run to its end is Pass or Needs remediation, the two results of the megacode testing checklist.

    A debrief: Unstable atrial fibrillation, 6 of 6 checklist steps, Pass, with the case on a timeline: the rhythm, the synchronized shock and the heart rate, blood pressure, SpO2 and EtCO2.
    The debrief's checklist: roles assigned, oxygen, monitor and IV, blood pressure taken, immediate synchronized cardioversion at 200 J, and sedation before the cardioversion, each with its time.

An ACLS simulator with a defibrillator that works

Every key on the device does what it says. It is modelled in 3D and drawn live, so the screen, the lights and the printer respond as you work.

12 CHARGE3 SHOCK
Manual defibrillationSet the energy, charge, and shock when the ring flashes. The charge time grows with the energy.
SYNC
Synchronized cardioversionSYNC marks each R wave and the shock waits for the next one.
PACERRATECURRENT
Transcutaneous pacingRate 30 to 180 ppm and current 0 to 200 mA, on demand or fixed, with capture once the current reaches the threshold.
ANALYZE
AEDAnalyze, then shock advised or no shock advised, with the device charging itself.
C
CPR with feedbackThe CPR sensor's bars take V1's place, the compressions show on the ECG, and the device works out the compression fraction.
NIBPLEAD
MonitoringLead II and V1, the pleth wave and the capnogram, with the heart rate, SpO2, blood pressure, EtCO2 and breathing rate.
12-LEAD
A 12-lead on screenA 10-second acquisition, then the 12 leads with the measurements: heart rate, PR, QRS, QT and QTc, and axis. No interpretation.
PRINTSUMMARY
Printer and code summaryPrint the strip, the 12-lead or the event summary, and see every event of the code with its time.

Every tracing is synthetic, drawn live by EKGLab's Waveform Studio engine. It is a teaching simulator, not a medical device.

The guided tour on the device: the energy, CHARGE, SHOCK, ANALYZE and SYNC keys ringed in amber, with the tour's explanation beside them.
A guided tour turns the selector, opens the panels and points at every key. It offers itself on your first visit.

Free play: any rhythm, any setting

Practice the device without a script, at your own pace. Free play is on every plan, the free one included.

19 rhythms: the ACLS rhythms and more

The ACLS rhythms, from bradycardia and the AV blocks to the tachycardias, VF, pulseless VT, torsades, PEA and asystole, with PVCs and ST elevation too. Pick the patient's rhythm, then set the heart rate, breathing rate and blood pressure, and add PACs or PVCs.

Sinus
  • Normal sinus rhythm
  • Sinus bradycardia
  • Sinus tachycardia
Supraventricular
  • Supraventricular tachycardia (SVT)
  • Atrial flutter, 2:1 conduction
  • Atrial fibrillation
  • Atrial fibrillation, rapid ventricular response
Ectopy and block
  • Sinus rhythm with PVCs in bigeminy
  • Sinus rhythm with PVCs in trigeminy
  • Second-degree AV block, 2:1 conduction
  • Complete heart block
Ventricular and arrest
  • Ventricular tachycardia, pulse present
  • Ventricular tachycardia, no pulse
  • Ventricular fibrillation
  • Torsades de pointes
  • Asystole
  • Pulseless electrical activity: sinus rhythm, no pulse
ST elevation
  • Anterior ST elevation
  • Inferior ST elevation

6 guided skills

Drills that tick off each step as you do it on the device.

  • Defibrillate VF
  • Cardiovert VT with a pulse
  • Pace a complete heart block
  • CPR and a shock
  • Take a 12-lead ECG
  • Troubleshoot

A reactive patient

15 starting patients with no script: each responds to whatever is done, right or wrong, and says why. Nothing is scored.

Free play with a guided skill: Defibrillate VF, with the selector turned to DEFIB and the energy set ticked off, and Press CHARGE as the next step, on ventricular fibrillation.

Megacode simulations for a class

On the Instructor plan, run a mock code for a team and put the device on the projector.

  • Instructor-led casesA mock code with the script, the patient's story and the checklist as it fills, and the case's next stage when you choose.
  • Curveballs and faultsPads off, an ECG lead off, a low battery, loss of capture, a tiring compressor, a dislodged tube: spring one, and switch it off once the team puts it right.
  • A student screenThe device alone, in a second tab of the same browser, to drag to the projector. Students see the screen and a hand on each key you press, and nothing of your console.
  • A session logEverything done on the device, and each curveball, with its time.
The student screen: the device alone with a LIVE badge, in DEFIB: ventricular fibrillation, a 200 J shock, then sinus rhythm at 104 with the pleth wave back, and a hand pressing NIBP to take a blood pressure.

The megacode scenarios

Seven of the eight megacodes follow one of the AHA's six megacode testing sequences. One (bradycardia, pulseless VT, asystole) is EKGLab's own sequence; each of its stages follows the algorithm for that rhythm.

Megacodes

Lightheaded and paleBradycardiaPulseless VTPEAPost-arrest care11 min
Short of breath at homeBradycardiaVFAsystolePost-arrest care15 min
A racing heartUnstable tachyVFPEAPost-arrest care10 min
Chest pain in the emergency departmentUnstable tachyVFPEAPost-arrest care12 min
Palpitations on the wardStable tachyPEAVFPost-arrest care9 min
Faint after a procedureBradycardiaVFPEAPost-arrest care11 min
Dizzy at dialysisBradycardiaPulseless VTAsystolePost-arrest care13 min
Palpitations after a heart attackStable tachyVFPEAPost-arrest care12 min

Stations

VF and pulseless VTVFPost-arrest care8 min
PEAPEAPost-arrest care6 min
AsystoleAsystolePost-arrest care7 min
Unstable bradycardiaBradycardia3 min
Unstable atrial fibrillationUnstable tachy2 min
Unstable atrial flutterUnstable tachy2 min
Stable narrow-complex tachycardiaStable tachy3 min
Post-cardiac arrest carePost-arrest care4 min
Stable wide-complex tachycardiaStable tachy3 min
Stable atrial fibrillation, fast rateStable tachy3 min
Torsades de pointesPulseless VTPost-arrest care6 min

Megacode practice on every plan

Start with free play. Every megacode case comes with Pro or the 3-Month Pro Pass, and teaching a class with Instructor.

Pro

$29/year

billed annually, cancel anytime

Start Pro

Everything in Free, plus

  • All 19 megacode cases, as a Self-test
  • Practice or Test, the next step and its reason, or nothing until the debrief
  • The scored debrief, each step met or not met, with its time
  • Every other Pro feature, from quizzes and True Sim to ARIA
Most popular

3-Month Pro Pass

No subscription

$9.99/3 months

one payment, never renews

Get the 3-month pass

Everything in Pro, for 3 months

  • Every megacode case, with the debrief, as in Pro
  • Starts the day you buy it
  • One payment, never charged again
  • Back to Free when it ends, with your progress kept

Using EKGLab all year? Pro at $29 a year costs less.

Instructor

10 seats

$99/year

10 student seats included

Get Instructor

Everything in Pro, plus

  • Instructor-led megacodes, with the script and the checklist
  • Curveballs and faults, with the session log
  • The student screen, for a projector
  • 10 student seats, add more any time

Free

$0

free forever, no card required

Free play on the Megacode Simulator.

  • Free play, every rhythm and setting
  • The 6 guided skills, step by step on the device
  • The reactive patient, 15 starting patients
  • The guided tour of the device
Create free account

Plus tax where it applies. Pro and Instructor renew each year and can be cancelled any time; the 3-Month Pro Pass never renews. Everything each plan includes

Megacode simulator questions

What is a megacode simulator?

A megacode is the scenario test of an ACLS course: a team leader runs a simulated patient through a sequence of rhythms while the team works, and each step is checked against a testing checklist. This megacode simulator runs those cases on a working 3D monitor-defibrillator in your browser: the rhythms change, the device responds to every key, and the debrief shows what was done and when.

Can I practice a megacode online for free?

Yes. The demo on this page needs no account: free play is open, and so is one megacode, Chest pain in the emergency department, Instructor-led or as a Self-test. A free EKGLab account keeps free play; every megacode case is included in Pro.

Which megacode scenarios are included?

8 megacodes and 11 stations. Seven of the eight megacodes follow one of the AHA's six megacode testing sequences. One (bradycardia, pulseless VT, asystole) is EKGLab's own sequence; each of its stages follows the algorithm for that rhythm. The stations each take one part of the algorithms, from VF and pulseless VT to post-cardiac arrest care.

Is the simulator approved or endorsed by the American Heart Association?

No. It is EKGLab's own software verification: tests written from the AHA's published text and run against the simulator. It is not a review, approval or endorsement by the American Heart Association. EKGLab is not affiliated with the AHA.

Are the rhythms real patient ECG recordings?

No. Every tracing in the simulator is synthetic, drawn live by EKGLab's Waveform Studio engine for teaching. Its 12-lead shows the measurements only, with no interpretation.

Can an instructor run megacode simulations for a class?

Yes, on the Instructor plan: run a case Instructor-led with the script and the checklist in front of you, spring curveballs such as pads off or a tiring compressor, and open the student screen in a second tab for the projector. Students see the device and a hand on each key you press.

What do I need to run it?

A laptop or desktop computer and a current browser, Chrome, Edge, Safari or Firefox. The device and its console need the width of a laptop screen, so a phone is too small.

Is this clinical advice?

No. The Megacode Simulator is a teaching simulator, not a medical device, and the patient's response to a shock or to pacing is the simulation's choice. Follow your own course, your instructor and your institution's protocols.