# on an empty line. You’ll see an autocomplete dropdown with #include suggestions for popular libraries.
By default, Wokwi compiles your code with the standard built-in Arduino libraries, such as Wire.h and SPI.h.
Adding third party libraries
Open Library Manager
Go to the “Library Manager” tab in the code editor, and press the blue ”+” button.
You can use this method to install any Arduino library from the Arduino Library Manager.
Uploading custom libraries
Paying users can upload any Arduino library by selecting a folder from their computer.Open upload dialog
Click on the blue ”+” button in the Arduino library manager and then click on “Upload a Library”.
The libraries.txt file
When you add libraries through the built-in “Library Manager”, it will create a “libraries.txt” file in your project. It is a simple text file that lists all of libraries installed in your project, one library per line. Lines that start with ”#” are comments. Normally, you don’t need to edit this file yourself - the “Library Manager” does this for you. But you can find this file useful if you want to install a specific version of a library. To select a specific version, add ”@” after the library name, followed by the version that you want to install. For example, the following file will install the latest versions of Servo and FastLED, as well as version 2.3.0 of MySensors:Custom libraries have the following format: the library name, followed by the text “@wokwi:”, and a unique identifier of the library’s zip file on Wokwi’s servers. You can copy custom libraries to a different project by copying the relevant lines from libraries.txt into the other project.