Clojure 1.11 (JVM)

Online Clojure Compiler

Dynamic functional Lisp dialect targeting the Java Virtual Machine. Write code with auto-formatting, test with standard input (stdin), and inspect terminal output in real-time.

✓ S-expressions and Lisp macros✓ Immutable persistent vectors and maps✓ Transducers and lazy sequences✓ Java interoperability
main.clj
Clojure 1.11 (JVM)
13px
Standard Input (stdin)
Passed to scanf, input(), cin, etc.
UTF-8Clojure2 SpacesWrap: Off
Ctrl+Enter to Run
Ln 1, Col 110 lines313 chars
Output & ConsoleIdle

Ready to Compile & Run

Click the blue ▶ Run button in the header bar or press Ctrl + Enter to compile and execute your Online Clojure Compiler.

How to Run Clojure Code Online

Run functional Lisp algorithms with immutable collections.

  1. Write S-expression syntax, click "▶ Run".

Common Errors & Troubleshooting

Encountering compilation or runtime diagnostics? Check these common scenarios:

Syntax error compilingVerify balanced parentheses and quotes.

Related Functional Programming Compilers

View all 35+ compilers →
Haskell (GHC).hs

Purely functional, statically typed programming playground with GHC compiler

Elixir.exs

Concurrent, functional language built on the resilient Erlang BEAM runtime

Frequently Asked Questions (Clojure)

Yes, Clojure compiles into JVM bytecode.