If you program Arduino, ESP32 or other microcontroller boards from a Windows PC, you'll quickly run into two free options: the official Arduino IDE 2 and PlatformIO, which you can use as the PlatformIO IDE extension inside Visual Studio Code. Both can compile your code and upload it to a board over USB, and both are open source. They're aimed at different kinds of user, though, and the right choice depends on how big your projects are and how many types of board you work with.
This comparison is based on Arduino's software page, the Arduino IDE 2 GitHub repository and release notes, Arduino's official IDE 2 tutorials, and PlatformIO's documentation and release notes, all checked on 4 December 2026.
At a glance
| Arduino IDE 2 | PlatformIO IDE |
|---|
What it is | Standalone desktop IDE from Arduino | Extension for Visual Studio Code, built on PlatformIO Core |
Licence | GNU AGPLv3 | Open source, permissively licensed |
Cost | Free | Free; PlatformIO says "no license fees" |
Platforms | Windows 10 and newer (64-bit), macOS, Linux | Windows, macOS, Linux and FreeBSD (PlatformIO Core) |
Current version | 2.3.11 | PlatformIO Core 6.2.0 |
Project settings | Chosen in menus (board, port) | platformio.ini file in each project
|
Board and library installs | Boards Manager and Library Manager | Installed automatically from platformio.ini |
Best for | Beginners and Arduino-centric projects | Larger projects and many board types |
Setup and first run
Arduino IDE 2 is a single download. Arduino's installation tutorial says you simply run the Windows file and follow the installer, and it lists Windows 10 and newer, 64-bit, as the requirement. Board packages and libraries are installed from panels in the left-hand column, and the IDE should prompt you to install the right package when you plug in a board it doesn't yet support. Our step-by-step guide to setting up Arduino IDE 2 on Windows covers the whole process.
PlatformIO asks a little more of you. You install Visual Studio Code first, then the PlatformIO IDE extension. PlatformIO's docs say you don't need to install PlatformIO Core (CLI) separately, because it's built into PlatformIO IDE. You'll want Git installed if you plan to pull libraries or platforms from repositories. To start a project, you click "PlatformIO Home" on the PlatformIO toolbar, then "New Project", and select a board.
How projects are set up
This is the biggest practical difference.
In Arduino IDE 2, you pick the board and port from a drop-down next to the Verify and Upload buttons, and you install libraries through the Library Manager. That's simple for one-off sketches.
PlatformIO keeps each project's settings in a platformio.ini file in the project's root folder. PlatformIO describes it as a way to set up your development environment, share your code and configurations with others, and configure multiple platforms and architectures without worrying about different toolchains for each one. Each [env] section names a platform, framework and board, and library dependencies go in lib_deps. PlatformIO says that clicking the compile button "will bring in all necessary dependencies automatically". That makes projects easier to move between PCs or share with someone else, because the board, framework and libraries travel with the code.
Board and framework support
Arduino IDE 2 works with the Arduino framework and any board that has an Arduino board package. That includes Arduino's own boards and third-party cores such as Espressif's ESP32 package, which you add through the Additional Board Manager URLs field in Preferences.
PlatformIO describes itself as "a cross-platform, cross-architecture, multiple framework, professional tool for embedded systems engineers". It can build Arduino-framework code - its own quick-start guide uses the classic Blink example - but it isn't limited to the Arduino framework. PlatformIO says its philosophy is to avoid "vendor lock-in", and it pitches the tool at people who develop on more than one platform.
Arduino IDE 2 is a big step up from the old 1.x app. Arduino says it has a more modern editor, autocompletion, code navigation and a live debugger. The Serial Monitor is built into the editor as a tab, and each sketch window has its own, so you can watch two boards at once. Arduino's debugger tutorial lists SAMD-based boards; the Arduino Zero has a built-in debugger, while boards such as the MKR WiFi 1010 need an external probe like a Segger J-Link or Atmel-ICE.
PlatformIO runs inside Visual Studio Code's editor and adds its own toolbar in the VS Code status bar with Build, Upload, Clean and Serial Port Monitor buttons, plus keyboard shortcuts such as Ctrl+Alt+B to build and Ctrl+Alt+U to upload. PlatformIO's docs list debugging, unit testing, static code analysis and remote development among its features, and debugging uses VS Code's own Debug view.
Updates and requirements
Arduino IDE 2.3.11 updated its bundled Arduino CLI to 1.6.0 and fixed a bug where an upload could use the previous build after a compile retry. PlatformIO Core 6.2.0 dropped support for Python 3.6, 3.7 and 3.8, so it now needs Python 3.9 or newer. PlatformIO's docs also note that Linux users need the python3-venv package; on Windows, the VS Code extension handles PlatformIO Core for you.
Which should you choose?
Choose Arduino IDE 2 if you're new to microcontrollers, you mostly use Arduino or ESP32 boards, or you want an official, all-in-one app with guided board and library installs.
Choose PlatformIO if you already use Visual Studio Code, your projects are growing beyond a single sketch, you work with several boards or frameworks, or you want each project's board and library versions written down in a file you can share or put under version control.
If you start with Arduino IDE 2 and move to PlatformIO later, you don't have to abandon what you've learned, because PlatformIO can build Arduino-framework code. For other options, including MicroPython editors, see our pick of the best free Arduino and microcontroller software.