Event Loop Visualizer - Free Online JavaScript Tool | IconVault
Watch the JavaScript event loop animate: call stack, Web APIs, microtask and macrotask queues. Play, step, reset. Free in your browser.
Event Loop Visualizer
Animate the call stack, queues and Web APIs step by step
Presets
Your code
Supported: console.log("..."), setTimeout(() => {...}, ms), Promise.resolve().then(() => {...}).
5 of 5 free runs left. Stepping through a trace is always free.
console.log("start") runs immediately: synchronous code never waits for the queues.
t = 0msCall stack
Web APIs (timers)
Microtask queue
Macrotask queue
Console output
Simplified model: real browsers also juggle rendering, network and user-input tasks, but the ordering rules shown here (sync first, then all microtasks, then one macrotask per turn) match the real engine.
About this tool
IconVault's Event Loop Visualizer makes JavaScript's concurrency model click: paste code and watch it execute across the call stack, Web APIs, timers, the microtask queue (promises), and the macrotask queue. Animated dots carry each task through the loop while the console shows the real output order.
Use the play, step, and reset controls to slow everything down and answer the classic interview question: why does this log before that? Built for students and interview prep. Free and runs fully in your browser.
Frequently asked questions
Popular searches
More tools
Algorithm Visualizer
Watch sorting and searching animate step by step
Alt Text Helper
Write better image alt text with live feedback
ARIA Reference
Searchable ARIA roles and attributes guide
Array Visualizer
Step through map, filter, reduce like a debugger
Coming soon
CLI
Coming soon
Figma plugin
Coming soon
VS Code extension
Coming soon
Chrome extension
Coming soon
AI icon generator
Coming soon
Team workspaces
Coming soon