Online Swift Compiler & Editor

Write, compile and run Swift: an editor with syntax highlighting, compiler errors, standard input and output.

Swift runs on Cariara's code runner (sandboxed, with time and memory limits) once you sign in.

In the editor

  • Standard input, and your own test cases with expected output, compared line by line
  • Explain: a note on the line under the cursor (signed in)
  • Your code, input and test cases kept in this browser

Other languages

Start free on Cariara · Coding problems · System design studio