Managing libraries
The Arduino Web Editor gives you access to thousands of libraries without manual installation.
Adding libraries to your sketch
- In the Web Editor, click the Libraries tab in the left sidebar (book icon).
- Search for the library you need (e.g., "DHT sensor" or "Servo").
- Click Include next to the library name.
- The library will be added to your sketch with an
#includestatement.
Favorites and library manager
Mark frequently used libraries as Favorites (star icon) for quick access. The Web Editor automatically keeps libraries up to date, unlike the desktop IDE where you manage updates manually.
Custom libraries
To upload your own library:
- Go to Libraries → Custom Libraries.
- Click Import and upload a .zip file containing your library.
- The library will be available in all your sketches.
Cloud variables (Arduino IoT Cloud)
The Web Editor integrates with Arduino IoT Cloud for remote monitoring and control.
What are cloud variables?
Cloud variables automatically sync data between your Arduino and the cloud. You can monitor sensor values remotely or control devices from anywhere.
Setting up cloud variables
- Create a Thing in Arduino IoT Cloud (linked to your board).
- Add variables (e.g.,
temperature,ledState). - The Web Editor auto-generates code to sync these variables.
- Deploy your sketch and view/control variables via the IoT Cloud dashboard.
See our full Arduino IoT Cloud guide for detailed setup instructions.
Offline mode (Arduino Create Agent)
The Web Editor requires internet for most features, but you can work offline with the Arduino Create Agent.
How offline mode works
- Install the Arduino Create Agent (prompts automatically when you first use the Web Editor).
- Once installed, you can upload sketches to your board even without internet.
- Sketches are cached locally and synced when you reconnect.
Limitations of offline mode
- You can't access the library manager or add new libraries.
- Sharing and cloud features require internet.
- Serial Monitor works offline.
For full offline development, consider using the Arduino IDE 2.0 desktop application.
Power user tips
Keyboard shortcuts
- Ctrl/Cmd + Enter: Verify sketch
- Ctrl/Cmd + Shift + U: Upload to board
- Ctrl/Cmd + F: Search/replace
- Ctrl/Cmd + /: Comment/uncomment lines
Monitor and debug
The built-in Serial Monitor and Serial Plotter let you visualize data without leaving the browser. Switch between them in the bottom panel.
Multiple tabs
Open multiple sketches in tabs. The Web Editor remembers your open sketches across sessions.
Dark mode
Enable dark mode from Preferences → Theme to reduce eye strain.
Version history
The Web Editor auto-saves your sketches. Access previous versions from Sketch → Show History (like Git for your sketches).
Sketchbook organization
Create folders in your Sketchbook to organize projects by category (e.g., "Sensors," "Robotics," "Learning").
Need more help?
Visit the Vilros Learn Center or contact Vilros support.