Try Embedded

Arduino and ESP32 simulator

Wire a circuit, write Arduino code and run it in the browser: real toolchain builds on a simulated Uno, Nano, Mega or ESP32.