Skip to content

VersusOS

Arduino IDE vs PlatformIO: Which Should You Use to Program Microcontrollers?

Arduino IDE 2 and PlatformIO are both free, open-source ways to program Arduino, ESP32 and other microcontroller boards from a PC. We compare setup, project configuration, board and framework support, debugging and requirements to help you choose.

By , Senior Hardware Editor

4 min read

Arduino IDE vs PlatformIO: Which Should You Use to Program Microcontrollers?

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.

Editing, debugging and extra tools

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.

The bottom line

Arduino IDE 2 is the better starting point: it's free, official, easy to install on Windows 11 and handles boards and libraries through simple menus. PlatformIO is the better long-term tool for bigger or multi-board projects, thanks to per-project platformio.ini files, automatic dependency installs and the full Visual Studio Code editor, at the cost of a slightly more involved setup.

Sources

  1. 01Arduino: Software downloads
  2. 02Arduino IDE 2.x source repository on GitHub
  3. 03Arduino IDE releases on GitHub
  4. 04Arduino Docs: Downloading and installing the Arduino IDE 2 (source on GitHub)
  5. 05Arduino Docs: Installing a Board Package in the IDE 2 (source on GitHub)
  6. 06Arduino Docs: How to upload a sketch with the Arduino IDE 2 (source on GitHub)
  7. 07Arduino Docs: Using the Serial Monitor tool (source on GitHub)
  8. 08Arduino Docs: Debugging with the Arduino IDE 2 (source on GitHub)
  9. 09Espressif: Arduino-ESP32 Installing
  10. 10PlatformIO Docs: What is PlatformIO?
  11. 11PlatformIO Docs: PlatformIO IDE for VSCode
  12. 12PlatformIO Docs: "platformio.ini" (Project Configuration File)
  13. 13PlatformIO Docs: PlatformIO Core (CLI)
  14. 14PlatformIO Core releases on GitHub

About the author

Callum Reid

Senior Hardware Editor

Callum leads GPU, CPU and platform architecture coverage at Forge PC. Before joining the editorial desk, he spent nine years specifying, assembling and stress-testing custom gaming and workstation systems in the UK, with a focus on PCIe bandwidth, VRM thermal design, DDR5 memory tuning and 1440p/4K frame-time consistency.

More from Callum Reid

Read next

How to Set Up Arduino IDE 2 on Windows 11 and Upload Your First Sketch

How-To

How to Set Up Arduino IDE 2 on Windows 11 and Upload Your First Sketch

Arduino IDE 2 is the free, official app for programming Arduino and compatible boards. We show how to install it on Windows 11, add board packages (including ESP32), install libraries, upload your first sketch and use the built-in Serial Monitor, plus fixes for common problems.

Marcus Thorne5 min

Best Free PCB Design Software for PC in 2026

Best Picks

Best Free PCB Design Software for PC in 2026

The best free PCB design software for PC in 2026: KiCad is our top pick for open-source, account-free board design, EasyEDA is the best browser-based option with a huge LCSC-linked parts library, and LibrePCB is the friendliest choice for beginners.

Hannah Vance5 min