print("Welcome to Online IDE!")print("Start coding in Python...")defsum(a,b):
returna+ba=int(input("Enter a number: "))b=int(input("Enter another number: "))print(f"The sum of {a} and {b} is {sum(a,b)}")
ConsoleProblems
Press Run or Ctrl ↵ to execute main.py. Type program input here while it runs.
Write, run and debug code in your browser, with an AI that knows your project.
Online IDE puts a compiler for 40 languages, a full editor and an AI pair programmer in one tab. Keep your work in projects, share it with a link, and let the assistant explain, fix or build your code. Nothing to install.
Find bugs fasterwith a step-by-step debugger that shows every variable.
Catch mistakes before you run.Ruff checks your code as you type.
Ready for data work:NumPy and pandas import with no setup.
Instant runs in your browser,or on our servers, whichever suits the program.
Search settings
Theme
SystemLightDark
Word wrap
Key bindingsVim
Font size14
An editor that feels like home
The comfort of a desktop editor, in a browser tab.
Suggestions as you typein every language, with docs on hover for Python.
Your habits carry over:multi-cursor editing, find and replace, and Vim or Emacs keys.
Errors that point the way.Click one in the output to land on the line.
Set up your way,from light and dark themes to fonts and layout.
Files
src
main.py
utils.py
data
scores.csv
chart.png
tests
2.1 of 25 MB
main.pyutils.pyscores.csv
srcmain.py
1from utils import load
2
3scores = load("data/scores.csv")
4print("Best:", max(scores))
SavedAMKShared with 3 people
Projects that grow with you
Folders and many files, saved to your account and ready on any computer.
A real workspace:a file tree, tabs and quick file search, like a desktop IDE.
Saved for you.Every change is kept, and your open files come back next time.
Output you can keep.Files your program writes, like reports and images, land in the project.
Share your workwith a public link, or with up to 10 people by email.
Keyboard first
CtrlPJump to any fileCtrlEnterRunCtrlLAsk the AICtrlKEdit with AI
Every run sandboxed, no network
Code from anywhere
Nothing to install or update, ever.
Any computer:Windows, macOS, Linux or a Chromebook, in the browser you already use.
Tablets and phones too,with layouts made for small screens.
Safe by design.Every run is sandboxed on our servers, away from your machine.
Pick up where you left offon another device: projects live in your account.
Sign in
GoogleGitHub
or
you@example.comContinue with email
Pay in your own currency
Fair plans, no lock-in
Simple to start, simple to leave.
Start in secondswith Google, GitHub or email.
Your code stays yours.Download every project as a .zip, or delete your account, at any time.
Pay in your own currency,and save with a yearly plan.
Cancel any time,with a refund within 14 days of a payment.
AI assistant
An AI pair programmer that knows your project
It sits next to your code and your program’s output, so it sees what you see: your files, the error, the failing test. Pick the model that fits the job, and see what every answer costs.
Free10 credits a dayBasic1,000 credits a monthPremium5,000 credits a month
An agent that does the work
Hand it a task like “add tests and make them pass”. It reads your files, edits them, runs your program and fixes what fails, while you watch. You review every change as a diff and can undo any of it. On Basic and Premium.
AgentSonnet 5.538 credits
The average is wrong for an empty list. Fix it and add a test.
Read stats.py and test_stats.py
Ran the tests: 1 failed (ZeroDivisionError)
Edited stats.py: return 0.0 for an empty list
Added test_empty_list
Ran the tests: 4 passed
stats.py
defaverage(xs):+ if not xs:+ return 0.0returnsum(xs) / len(xs)
Keep changesUndo all
Pick the model
The latest Claude and GPT models, from quick and cheap to the most capable. Use a fast one for small questions and a stronger one for hard problems.
Model
Anthropic
Claude Haiku 5.51×
Claude Sonnet 5.520×
Claude Opus 5.540×Premium
Claude Fable 5.280×Premium
OpenAI
GPT-6 Luna1×
GPT-6.1 Terra10×
GPT-6.1 Sol20×
Ask about your code
It reads your project, explains errors and unfamiliar code, and suggests changes you apply in one click. No copying code into another tab.
AssistantCtrl L
main.pyWhy does this print None?
greet() prints the name but returns nothing, so print(greet()) prints None too. Return the text:
- print(f"Hi {name}")+ return f"Hi {name}"
Fix with AI
When a run fails, one click sends the error with your code. You get the cause in plain words and a fix to apply.
ConsoleExit 1Fix with AI
Traceback (most recent call last):
File "main.py", line 4
print(total / count)
ZeroDivisionError: division by zero
count is 0 when the list is empty. Check it before dividing.
Edit by describing it
Select some code and say what you want changed. You see the change before it lands, and keep it or throw it away.
1nums = [3, 8, 1]
2squares = []
3for n in nums:
4 squares.append(n * n)
Use a list comprehension
+ squares = [n * n for n in nums]
CtrlK
Completions as you type
The next lines of code suggested as you type, taken with Tab. They never use credits, and they’re unlimited on paid plans.
1defis_prime(n):
2if n < 2:
3returnFalse
4for i inrange(2, n):
5 if n % i == 0:
6 return False
7 return True
Tabto accept
Start a project from a sentence
Describe what you want to build, and the agent writes a first version as a new project, ready to run and change.
New project
A quiz game in Python that asks five questions and keeps score
Create with AI
quiz.pywritten
questions.jsonwritten
README.mdwritten
Credits you can see
Every answer shows what it cost, so there are no surprises. Packs top you up when you need more, never expire, and nothing is charged automatically.
Credits this month
Basic
552 of 600 left
Ask · Sonnet 5.54 credits
Fix with AI · Sonnet 5.56 credits
Agent task · Sonnet 5.538 credits
Completionsfree
Premium
A Linux machine of your own, in the browser
For real projects, games and apps with windows. Premium gives each project its own Linux session, so you can work the way you would on your own computer.
TerminalDisplaySession running
~/snake $ pip install -r requirements.txt
Successfully installed pygame-2.6.1~/snake $ python main.py
The game opened in the Display tab~/snake $ ls
assets main.py requirements.txt snake.py
~/snake $
Still there after a reload
A terminal that keeps running
Each project gets its own Linux session with a real terminal. Install packages, run scripts and builds, and come back to it: the session keeps running while you work and picks up after a reload.
TerminalDisplay
Score 8
Windows from GUI programs
Build games and desktop apps. Windows from tkinter, pygame, turtle, Swing or SDL show right in the IDE, or pop out on their own.
requirements.txt
1requests
2flask
3rich
Installed when the session started
requestsflaskrich
Any Python package
pip install whatever your project needs. Keep a requirements.txt and it’s all installed each time the session starts.
1from scores import load_scores
2
3best = max(load_scores("data.txt"))
defload_scores(path: str) -> list[int]
Read one score per line from a text file.
F12Go to definitionF2Rename
Smarter Python editing
Completions and docs drawn from your whole project, plus go to definition, find references and safe renames across files.
Agent
Make the tests pass
Run this in the terminal?
python -m pytest -q
RunSkip
4 passed in 0.31s
An agent that uses the terminal
The agent can run commands too, like your tests or a build, so it can check its own work. You approve each command before it runs.
100 MB
for each project
30 min
for each run
5,000
AI credits a month
Priority
email support
Plans
Start free. Upgrade when you need more.
The playground and the Free plan cost nothing, for as long as you like. Upgrade for private projects, unlimited runs and far more AI, and on Premium a Linux machine of your own.
Yes. The playground needs no account at all, and the Free plan adds 3 projects, 10 AI credits a day and 100 code completions a day. Paid plans are for private projects, more room (25 MB or 100 MB a project), unlimited runs and more AI.
Do I need to install anything?
No. Everything runs in your browser on Windows, macOS, Linux or ChromeOS, and on tablets and phones. Your code runs on our servers (or, for Python if you choose, inside your browser tab), so you don’t need a compiler on your computer.
Which languages can I run?
40 of them: Python, JavaScript, TypeScript, Java, C, C++, C#, Go, Rust, PHP, Ruby, Kotlin, Swift, Dart, Scala, R, Julia, SQLite, Bash, Perl, Lua, Haskell, Elixir, Erlang, F#, VB.NET, Pascal, Fortran, Assembly, PowerShell, OCaml, Prolog, Common Lisp, Zig, D, Racket, Octave, COBOL, Clojure, Groovy. Many have several versions to pick from, like Python 3.11 to 3.15 or Java 8 to 25.
Can my program read keyboard input?
Yes. When your program asks for input, such as input() in Python or Scanner in Java, type the answer in the console while it runs, as you would on your own computer.
Can my program use the internet?
No. Every run is sandboxed with no network access, so programs can’t call web APIs or download files. On Premium, pip can still install packages from PyPI in your project’s terminal.
Can I use Python libraries like NumPy and pandas?
Yes. NumPy, pandas and openpyxl are ready to import when Python runs on our servers. If you run Python in your browser instead, packages install themselves when you import them. On Premium you can pip install anything.
What’s the difference between a playground and a project?
A playground is for quick work: no account, a few files, saved in your browser and shareable as a link. A project has folders, is saved to your account so it opens on any computer, and can be shared with other people. You can save a playground as a project at any time.
Where is my code saved, and who can see it?
Playgrounds are saved in your browser, and nobody sees them unless you share a link. Projects are saved to your account. On the Free plan projects are public; on Basic and Premium you choose private or public, and you can share one with up to 10 people by email.
What are AI credits?
They pay for the AI assistant. A question costs about 0.1 credits on the Free models and about 1 on Claude Sonnet; longer answers and agent tasks use more, and you see the cost under each answer. Plan credits refill daily on Free and monthly on paid plans, and you can buy packs that never expire. Code completions don’t use credits.
Is my code used to train AI?
No. The assistant uses Claude and GPT models through their makers’ APIs, which don’t train on what we send. Your code goes to the model only when you ask the assistant something.
Can I cancel at any time?
Yes. Your plan keeps working until the end of the period you paid for, and your projects stay in your account. You can also ask for a refund within 14 days of a payment.
How do I pay?
Payments go through Paddle, in your local currency, and invoices are on your Billing page. Yearly plans cost less than paying monthly. Nothing is ever charged automatically for AI credits; packs are one-time purchases.
Your editor is already open.
Scroll up and press Run, or pick another language.