how to hex file from online ide
From the menu on the left side of the screen, click "Preferences".
- Check the box "Always show output panel".
- Upload the sketch.
After the upload finishes, examine the contents of the black output panel at the bottom of the Arduino Web Editor window. There, you will see the path to the .hex file. For example:
avrdude: input file C:/Users/per/AppData/Local/Temp/arduino-create-agent083522222/sketch_may15cc.hex contains 656 bytes
The general location where the .hex file is stored is always the same, but the specific folder is randomized on every upload.
The .hex file is only downloaded to your computer during an upload, so the only way to get the .hex file from the Arduino Web Editor is by doing an upload.