CodeHub20 Donate Log in Sign up Dashboard Log out
Free & open source

Write code.
Run it anywhere.

A fast, free workspace for 20 programming languages. Open it on your phone or laptop and see live output instantly.

Free forever  ·  No install  ·  20 languages


          
Live output
20Languages
0Installs needed
100%Free to use
AnyPhone or laptop

What is CodeHub 20?

CodeHub 20 is a free online workspace where you can write, run and test code in 20 programming languages directly in your browser.

There is nothing to install. Open the website on a phone, tablet or computer, choose a language, type your code and press run. The result appears right beside your code.

It is made for people who want to learn, practise or quickly try an idea without setting up a development environment.

Cost
Free to use
Installation
None, runs in the browser
Languages
20, from Python to Rust
Devices
Phone, tablet and computer
Account
Email or Google sign-in
Best for
Learning, practice, quick tests

Everything you need to code, nothing you don't

Instant output

Hit run and see results immediately. No waiting, no setup screens.

Runs in your browser

HTML, CSS, JavaScript, TypeScript, SQL and Lua run locally on your device.

Your own account

Sign in with email or Google and your profile follows you everywhere.

Built for phones

A layout that feels natural on a small screen, not a shrunken desktop.

Secure sign-in

Powered by Firebase, with protected passwords and private profiles.

20 languages

From Python and Java to Rust, Go, Swift and Kotlin in a single hub.

Pick a language and go

How it works

01

Pick a language

Choose from 20 languages, from Python and JavaScript to Rust and Kotlin.

02

Write and run

See live output as you work, right inside your browser.

03

Save and continue

Log in on any device and pick up exactly where you left off.

A quick tour of the code editor

Language tabs

Open several languages at once as tabs, switch between them, add new ones or close them any time.

Live output & console

Press Run and the result and any console messages appear right next to your code.

Handy shortcuts

Ctrl + Enter runs your code (Cmd + Enter on Mac). Ctrl + / comments or uncomments the selected lines.

Smart typing

Syntax colours, line numbers and suggestions as you type, so code is easier to read and write.

Download & reset

Download your code as a file, or reset the tab to start again from the starter example.

Light and dark mode

Switch the editor theme to whatever is most comfortable for your eyes.

Find your way around the website

Your account and dashboard

01

Create your account

Sign up with your email or with Google. We send a confirmation email so your account is verified.

02

Make it yours

Add a display name, a username and a profile photo from your dashboard.

03

Track your activity

See your code runs, your top language, how many languages you have used and how many days you have been with us.

Coding terms made simple

What is a programming language?

A set of rules for writing instructions that a computer can follow. Python, JavaScript and Java are all programming languages.

What does “run” mean?

Running code asks the computer to carry out your instructions. The result, called the output, is shown next to your code.

What is the console?

A text area where your program prints messages, such as results or errors, so you can see what it is doing.

What is a compiled language?

Some languages, like Java, C++ and Rust, must be translated into machine instructions before they run. On CodeHub 20 this happens for you in the cloud runner.

Why can some languages run without internet?

HTML, CSS and JavaScript are built into every browser, so they run on your device. Other languages need extra engines or the cloud runner.

Built for the way you learn and work

Students & beginners

Learn your first language with zero setup. Write a line, press run and see what it does.

Teachers & classrooms

Share one link with a class and everyone has the same editor on any laptop, tablet or phone.

Developers

Test a snippet, check syntax or compare languages without opening a heavy IDE.

Interview practice

Practise algorithms in the language you will be asked about, with instant feedback.

Hackathons & quick demos

Prototype an idea in HTML, CSS and JavaScript and see the result live in seconds.

Tutorials & content

Record clean walkthroughs from a simple, distraction-free workspace.

How every language runs

ModeLanguagesHow it works
Instant in browserHTML · CSS · JavaScriptRuns natively in your browser. No download, results appear immediately.
In-browser runtimesPython · TypeScript · SQL · LuaPowered by WebAssembly and JavaScript engines that load once on first run, then run locally on your device.
Secure cloud runnerJava · C · C++ · C# · Go · Rust · Kotlin · Swift · PHP · Ruby · Dart · R · ScalaCompiled and server-side languages run in an isolated sandbox and return the output to you.

Powered by proven technology

WebAssembly runtimes

Pyodide brings Python and sql.js brings SQLite straight into the browser tab.

Judge0 cloud execution

An open-source code execution engine runs the compiled languages in sandboxed containers.

Firebase Authentication

Email and Google sign-in, with private profiles protected by Firestore security rules.

WebAssemblyPyodideTypeScript compilersql.jsFengari (Lua)Judge0Firebase AuthCloud FirestoreResponsive layout

Quick answers

Is CodeHub 20 free?

Yes. Writing, running and keeping an account are free, and the project is open source.

Where is the source code?

On GitHub: github.com/Macro6T9/CodeHub-20. Anyone can read it and suggest changes.

Do I need to install anything?

No. It runs in the browser on your phone, tablet or computer.

Do I need internet to run code?

HTML, CSS and JavaScript run locally. Other runtimes download once, and cloud languages need a connection.

Is my account private?

Yes. Profiles are protected by security rules so only you (and the site admin) can read your data.

See all FAQs

Help keep CodeHub 20 free

CodeHub 20 is free and open source. If it has helped you, a small donation covers hosting and lets me keep adding languages and guides.

Donate

Ready to write your first line?

Create a free account in seconds.

Create free account