Write or paste your Swift code in the left code editor.
Select the bash version; this compiler tool provides version 5.9.
Click the "Run" button to compile and run your code.
The output will be displayed in the right result editor.
What is a Swift online compiler
A Swift online compiler allows your Swift code to be compiled online without installing a Linux system environment. It can quickly test your Swift code online to find out if there are any problems with the code. You can write or paste Swift code like this:
Features of the Swift online compiler
Simple and convenient Swift online compiler or tester