Clean Language: a simple programming language for the web, built for AI.
Type-safe code that compiles to WebAssembly. Write it yourself, or let AI write it and check it easily.
Built for Modern Development
Clean Language combines the safety of Rust with the readability of Python, compiling to high-performance WebAssembly.
Clean & Simple
Readable, indentation-based syntax designed to reduce noise and keep focus on logic.
Beginner-Friendly
Perfect for students, educators, and anyone learning programming for the first time.
Fast to Learn
Minimal syntax and consistent rules mean a gentle learning curve.
Safe & Predictable
Strong typing and clear semantics ensure fewer surprises and more reliable code.
WebAssembly Ready
Compile to WebAssembly and run on modern platforms everywhere.
Full-Stack Framework
Build complete web applications with the Frame plugin ecosystem.
Clean and Powerful
Write less code that does more. Clean Language's expressive syntax lets you focus on what matters.
start:
print greet("World")
print greet("Clean")
functions:
string greet(string name)
return "Hello, {name}!"$ cln compile -o hello.wasm hello.cln
$ cln run hello.wasm
Hello, World!
Hello, Clean!Code With AI, Not Around It
The first language designed for humans and AI to write together. Built-in compiler access, intent keywords, and zero-config plugins.
AI Understands Your Code
Built-in intent and spec keywords give AI context about what your code does and why it exists.
Real-Time Compiler Access
MCP server lets AI tools compile, check, and validate code as they write it. Errors caught before you even see them.
Zero Configuration
Plugin auto-detection means AI-generated code just works. Put a file in the right folder and the compiler knows what to do.
Want the app, not the code?
Clean was built so AI writes it reliably. Clean Studio is that AI: describe what you need, approve each change, and Clean Cloud puts your app live.
Describe it
Say what the app should do in plain words. Studio turns it into short documents you can read.
Approve it
Studio writes the Clean code. Nothing changes until you approve it, and the code is always yours.
Go live
Publish to Clean Cloud with a real database, domain and email, on a link you can share.
Start Building in Minutes
Get up and running with Clean Language in three simple steps.
Install Clean
One command with the Clean Version Manager.
Write Your First File
Create hello.cln with a simple start: block.
Run It
See your first output in seconds.
Join the Community
Connect with developers building the future of type-safe, WebAssembly-first programming.
GitHub
Contribute to the project, report issues, and explore the source code.
View Repository →Documentation
Comprehensive guides, API references, and tutorials to master Clean Language.
Read The Docs →Discord Community
Join developers worldwide. Get help, share projects, and discuss ideas.
Join Discord →