We read the pricing pages, quotas and docs of 13 online Python IDEs on 3 December 2026, looking at what a developer needs beyond running a snippet: files, a terminal, package installs that survive, a debugger, Git, an AI assistant, the size of the free machine and how long a free session or month lasts. Three of the 13 no longer take new free users. We also wrote envcheck.py, a script you can paste into any online IDE, and ran it on a Windows laptop and in a Docker container limited to 2 CPUs and 4 GB, the size of a small free cloud machine.
The short answer: the closest thing to a laptop in the browser is GitHub Codespaces: VS Code with a terminal, debugger and Git on a 2-core, 8 GB machine, 60 hours a month free on a personal account. Google Cloud Shell gives more time, 50 hours a week, with a 5 GB home folder that persists and an editor that debugs Python. AWS CloudShell gives 1 vCPU and 2 GiB at no charge. For notebooks, Kaggle (30 GB of RAM, 12-hour sessions) and Google Colab. vscode.dev edits code but can't run Python. Replit has no free plan for new users, Ona Cloud (formerly Gitpod) shut down on 31 October 2026, and Firebase Studio stopped sign-ups in June 2026. Checked 3 December 2026.
Fastero
Connect your database. Ask questions. Get dashboards.
Postgres, BigQuery, Snowflake, and 10+ sources — live-connected, AI-powered, no dashboard builder learning curve.
Try free →Online Python IDEs compared
| Tool | Free allowance | Free machine | What persists | Terminal, debugger, Git |
|---|---|---|---|---|
| GitHub Codespaces | 60 hours a month on 2 cores; 15 GB-month storage | 2 cores, 8 GB, 32 GB disk | Everything until deleted, by default 30 days after it stops | All three; Copilot Free |
| Google Cloud Shell | 50 hours a week | Not published | 5 GB home folder | All three |
| AWS CloudShell | Monthly quota, size not stated | 1 vCPU, 2 GiB | 1 GB home folder per Region | Terminal and Git |
| PythonAnywhere | 100 CPU-seconds a day | 3 GB per process | 512 MB of files | Consoles; internet to allowlisted sites |
| Google Colab | Up to 12 hours a session | Not published (users report 12.7 GB) | Notebooks in Drive only | Terminal; Gemini |
| Kaggle | 12-hour sessions | 4 cores, 30 GB | 20 GB of output | Notebook cells |
| CoCalc | 1 project running | 2 GB, 4 GB disk | Project files | Terminals; no internet |
| JupyterLite | Unlimited, on your computer | Up to 4 GB | Your browser's storage | Notebooks and an editor |
| vscode.dev, github.dev | Unlimited | No Python runtime | Edits until you commit | Git only |
| Fastero notebooks | 6 hours a day | 1 CPU, 2 GB | Notebooks, uploaded files | None; SQL cells, schedules |
From each vendor's pages, read 3 December 2026; Kaggle's from our Kaggle Notebooks guide, as its docs need JavaScript, and Colab's RAM from Colab RAM. To run a few lines with no account, see our online Python compiler guide.
Which online Python IDE should you use?
- A full IDE: GitHub Codespaces. A Linux container with VS Code, the Python debugger, Git and Copilot.
- The most free hours: Google Cloud Shell. 50 hours a week and an editor with Python debugging; you must be 18 or older.
- Work on AWS: AWS CloudShell, already signed in to your account.
- Notebooks with more RAM or a GPU: Kaggle or Colab; see Google Colab alternatives.
- A small web app: PythonAnywhere, whose limits our PythonAnywhere alternatives covers.
- Teaching and co-editing: CoCalc.
- No account at all: JupyterLite, which runs Python in your browser tab.
- Reading or editing a repository: vscode.dev or github.dev.
How long does a free online IDE last?

Free hours in a 30-day month on the smallest free machine, from each vendor's quota or pricing page, read 3 December 2026. Colab, Kaggle and AWS CloudShell publish no monthly figure.
Codespaces counts by machine size. A free personal account gets 120 hours a month, used at twice the rate on 2 cores, so 60 hours on 2 cores or 30 on 4; GitHub Pro gives 180. Organizations get no free quota. Without a payment method, use is blocked when the quota runs out, so nothing is charged by surprise. GitHub is candid: "It is not intended to be enough for you to do everyday work free of charge." Prices are in our Codespaces Jupyter guide.
Cloud Shell counts by the week: "The default weekly Cloud Shell quota is 50 hours. This quota resets every 7 days." It "is free for users with a Google Cloud account."
Sessions end sooner than the month does:
| Tool | Stops after idle | Longest session |
|---|---|---|
| GitHub Codespaces | 30 minutes (you can set 5 to 240) | 12 hours |
| Google Cloud Shell | 40 minutes | 12 hours |
| AWS CloudShell | 20 to 30 minutes | About 12 hours |
| Google Colab | Not published | Up to 12 hours |
| Kaggle | 20 minutes | 12 hours |
| CoCalc (Free) | 30 minutes of browser inactivity | Not published |
| Fastero notebook server | About 10 minutes | 6 hours of compute a day |
The 12-hour limits are hard: GitHub's applies "even while you are actively using the codespace", and "Colab does not publish these limits, in part because they can vary over time." PythonAnywhere counts CPU time instead: after 100 CPU-seconds a day, consoles keep running at a lower priority.
How much RAM does a free online IDE give you?

Memory of each free machine, from each vendor's pages read 3 December 2026 (Kaggle's as of 31 October). Colab's figure, in grey, is user-reported.
Codespaces' smallest machine has "2 cores, 8 GB RAM, and 32 GB storage". PythonAnywhere kills any process over 3 GB. JupyterLite runs on your own computer, but in 32-bit WebAssembly, whose 4 GB is "the largest amount of memory possible with 32-bit pointers". For what your data needs, see how much RAM data science needs. The numbers Python prints inside these machines can be wrong, as the next section shows.
Connect any database. Ask in plain English.
Start free →Check what an online IDE really gives you: envcheck.py
Paste this into any online IDE and run it. Using only the standard library, it prints the Python version, the CPUs and RAM the system reports, any lower container limits, free disk, whether pip can install a package (six, into a temporary folder), whether the internet answers, and whether the file it wrote last time is still there.
"""envcheck.py: what does this online IDE really give me? Standard library only."""
import os, platform, shutil, subprocess, sys, tempfile, time, urllib.request
from datetime import datetime, timezone
from pathlib import Path
GB = 1024**3
def read(path):
try:
return Path(path).read_text().split()
except OSError:
return None
def cpu_limit():
"""CPUs a container may use: cgroup v2 cpu.max, or v1 quota/period."""
v2 = read("/sys/fs/cgroup/cpu.max")
if v2 and v2[0] != "max":
return int(v2[0]) / int(v2[1])
quota = read("/sys/fs/cgroup/cpu/cpu.cfs_quota_us")
period = read("/sys/fs/cgroup/cpu/cpu.cfs_period_us")
if quota and period and int(quota[0]) > 0:
return int(quota[0]) / int(period[0])
return None
def ram_limit():
"""A container's memory ceiling, if it has one (cgroup v2, then v1)."""
for path in ("/sys/fs/cgroup/memory.max",
"/sys/fs/cgroup/memory/memory.limit_in_bytes"):
value = read(path)
if value and value[0].isdigit() and int(value[0]) < 2**60:
return int(value[0])
return None
def ram_total():
"""RAM the operating system reports, in bytes."""
if sys.platform != "win32":
return os.sysconf("SC_PAGE_SIZE") * os.sysconf("SC_PHYS_PAGES")
import ctypes # Windows: MEMORYSTATUSEX
class Mem(ctypes.Structure):
_fields_ = [("size", ctypes.c_ulong), ("load", ctypes.c_ulong),
("total", ctypes.c_ulonglong), ("rest", ctypes.c_ulonglong * 6)]
m = Mem(size=ctypes.sizeof(Mem))
ctypes.windll.kernel32.GlobalMemoryStatusEx(ctypes.byref(m))
return m.total
def pip_works():
"""Install one small package into a throwaway folder, then delete it."""
target = tempfile.mkdtemp()
start = time.perf_counter()
try:
cmd = [sys.executable, "-m", "pip", "install", "--quiet", "--no-deps",
"--disable-pip-version-check", "--target", target, "six"]
done = subprocess.run(cmd, capture_output=True, text=True, timeout=120)
if done.returncode == 0:
return f"yes ({time.perf_counter() - start:.1f} s)"
return "no: " + (done.stderr.strip().splitlines() or ["?"])[-1][:70]
except (OSError, subprocess.TimeoutExpired) as e:
return f"no: {e}"
finally:
shutil.rmtree(target, ignore_errors=True)
def internet(url="https://pypi.org/simple/six/"):
start = time.perf_counter()
try:
with urllib.request.urlopen(url, timeout=8) as r:
ms = (time.perf_counter() - start) * 1000
return f"yes, HTTP {r.status} in {ms:.0f} ms"
except Exception as e: # DNS failure, proxy block, timeout...
return f"no: {getattr(e, 'reason', e)}"
def last_run(marker):
"""Is the file this script wrote last time still there?"""
now = datetime.now(timezone.utc)
if marker.exists():
then = datetime.fromisoformat(marker.read_text().strip())
mins = (now - then).total_seconds() / 60
found = f"yes, written {mins:.0f} min ago" if mins < 120 else \
f"yes, written {mins / 60:.1f} hours ago"
else:
found = "no (first run here, or the disk was reset)"
marker.write_text(now.isoformat())
return found
home = Path(sys.argv[1] if len(sys.argv) > 1 else Path.home())
cpus, ram = cpu_limit(), ram_limit()
rows = {
"Python": f"{platform.python_version()} on {platform.system()} {platform.machine()}",
"CPUs the OS reports": os.cpu_count(),
"CPUs a container limit allows": f"{cpus:g}" if cpus else "no limit found",
"RAM the OS reports": f"{ram_total() / GB:.1f} GB",
"RAM a container limit allows": f"{ram / GB:.1f} GB" if ram else "no limit found",
"Free disk": f"{shutil.disk_usage(home).free / GB:.1f} GB in {home}",
"pip can install a package": pip_works(),
"Outbound internet (pypi.org)": internet(),
"File from the last run still there": last_run(home / ".envcheck_last_run"),
}
for name, value in rows.items():
print(f"{name:<36}{value}")The marker goes in your home folder; pass another folder as an argument to test that one. Run it, close the IDE, come back tomorrow and run it again: the last line tells you whether your files survived.
On a laptop. We ran it with Python 3.14.3 on Windows 11 (an 8-core, 16-thread Intel Core i7-11800H, 64 GB), passing . to keep the marker in the current folder:
$ python envcheck.py .
Python 3.14.3 on Windows AMD64
CPUs the OS reports 16
CPUs a container limit allows no limit found
RAM the OS reports 63.7 GB
RAM a container limit allows no limit found
Free disk 25.9 GB in .
pip can install a package yes (9.7 s)
Outbound internet (pypi.org) yes, HTTP 200 in 331 ms
File from the last run still there no (first run here, or the disk was reset)A second run two minutes later ended yes, written 2 min ago.
In a container sized like a free tier. Most online IDEs are a Linux container on a shared machine, so we made one with Docker Desktop (Docker Engine 29.5.2): the 188 MB python:3.11-slim image, 2 CPUs, 4 GB and no swap. Run in Git Bash; on Linux or macOS, skip the first line:
export MSYS_NO_PATHCONV=1 # Git Bash on Windows only: keeps /root paths as written
docker run -d --name blog1203-ide --cpus 2 --memory 4g --memory-swap 4g \
python:3.11-slim sleep infinity
docker cp envcheck.py blog1203-ide:/root/envcheck.py
docker exec blog1203-ide python /root/envcheck.py # run 1
docker exec blog1203-ide python /root/envcheck.py # run 2, three minutes later
docker rm -f blog1203-ide # throw the machine awayWe then repeated run, cp and exec for a fresh container, and once more with --network none, which is what a free tier without internet looks like:
$ docker exec blog1203-ide python /root/envcheck.py # run 1
Python 3.11.14 on Linux x86_64
CPUs the OS reports 16
CPUs a container limit allows 2
RAM the OS reports 31.2 GB
RAM a container limit allows 4.0 GB
Free disk 924.7 GB in /root
pip can install a package yes (7.4 s)
Outbound internet (pypi.org) yes, HTTP 200 in 190 ms
File from the last run still there no (first run here, or the disk was reset)
$ docker exec blog1203-ide python /root/envcheck.py # run 2, same container
[...]
pip can install a package yes (1.0 s)
File from the last run still there yes, written 3 min ago
# after docker rm -f and a new container from the same image:
File from the last run still there no (first run here, or the disk was reset)
# a new container started with --network none:
pip can install a package no: ERROR: No matching distribution found for six
Outbound internet (pypi.org) no: [Errno -3] Temporary failure in name resolution
envcheck.py in JupyterLab 4.6.6, running in the 2-CPU, 4 GB container on localhost, 3 December 2026.
What the runs show:
- The CPU count is the host's. Python's
os.cpu_count()returns "the number of logical CPUs in the system": 16 here, not our 2. A worker pool sized from it oversubscribes: in the 2-CPU container, 16 processes took 5.37 seconds for 16 CPU-bound tasks, against 4.17 seconds with 2 and 8.09 with 1 (medians of 5 runs), 29% slower than matching the limit. - So is the RAM: 31.2 GB, Docker's whole virtual machine, under a 4 GB limit. Docker's docs warn that "Inside the container, tools like free report the host's available swap, not what's available inside the container."
- Free disk read 925 GB, Docker's virtual disk; the laptop's drive had 24 to 26 GB free. Trust the vendor's quota.
- Running out of RAM kills the process with no Python error. A script holding 256 MB more each step, in a container with 1 GB and no swap, printed
768 MB heldand died with exit code 137: noMemoryError, no traceback. Without the swap setting it reached 1,792 MB, because Docker lets a container swap as much again by default. In a notebook, this looks like the kernel restarting. - Files survive on the same machine, not on a new one, which is what happens on Colab when its machine is recycled.
- No internet means no pip: the same failure you'd get on CoCalc's free tier.
The memory test, if you want to find your own limit (it stops at 4 GB):
chunks = []
for i in range(1, 17):
chunks.append(b"\x01" * (256 * 1024**2)) # 256 MB, really written
print(f"{i * 256:>5} MB held", flush=True)Can you pip install in an online Python IDE, and do the packages stay?
Pip works almost everywhere; what differs is whether the package is there next time:
- Codespaces: installs survive stops and restarts; a rebuild clears everything outside
/workspaces. - Google Cloud Shell: "any modifications that you made outside your $HOME directory are lost", so use
pip install --user, which installs into your home folder. - AWS CloudShell: the same rule with 1 GB of home; system packages installed with
dnflast one session. - Colab and Kaggle: reinstall in each session.
- PythonAnywhere: user installs stay in your 512 MB, and PyPI is on the free allowlist.
- CoCalc Free: nothing installs from PyPI without a paid plan, from $8 a month ($6 billed yearly).
The fix that works anywhere: list your packages in requirements.txt and let the environment rebuild from a file. In Codespaces, and any editor that reads the Dev Container spec, that file is .devcontainer/devcontainer.json:
{
"name": "python-3.11",
"image": "mcr.microsoft.com/devcontainers/python:3.11",
"postCreateCommand": "pip install --user -r requirements.txt",
"forwardPorts": [8000],
"customizations": {
"codespaces": { "openFiles": ["envcheck.py"] },
"vscode": {
"extensions": ["ms-python.python", "ms-python.debugpy"]
}
}
}The image is Microsoft's Python 3.11 dev container (Python 3.11.18, built 20 November 2026, 619 MB compressed). postCreateCommand reinstalls your packages whenever the container is built, the extensions add Python support and the debugger, and port 8000 is forwarded for a web app. It sets no minimum machine size: asking for 4 CPUs would halve the free month. A custom image like this counts against your 15 GB of storage; GitHub's default image doesn't.
We checked it against the Dev Container spec's JSON schema (with its Codespaces and VS Code sections), plus two broken copies to prove the check catches mistakes; with the dev containers CLI 0.91.0; and with a dry run of a requirements.txt pinning pandas 3.1.2 and requests 2.34.2 in a Python 3.11 container:
$ python validate_devcontainer.py proj/.devcontainer/devcontainer.json
python 3.14.3, jsonschema 4.26.0
json.loads: OK, keys: name, image, postCreateCommand, forwardPorts, customizations
devcontainer.json as written: 0 errors
Broken copy, 'postCreateComand' typo: 1 errors
- $: Unevaluated properties are not allowed ('postCreateComand' was unexpected)
Broken copy, openFiles as a string: 1 errors
- $.customizations.codespaces.openFiles: 'envcheck.py' is not of type 'array'
$ devcontainer read-configuration --workspace-folder proj # its JSON, summarized
devcontainer read-configuration: OK, image mcr.microsoft.com/devcontainers/python:3.11,
workspace /workspaces/proj
$ pip install --dry-run --user -r requirements.txt --report - # summarized
would install: pandas 3.1.2, requests 2.34.2, certifi 2026.11.20,
charset-normalizer 3.5.3, idna 3.20, numpy 2.4.6, python-dateutil 4.0.0, urllib3 2.8.0,
tzdata 2026.6We didn't open a codespace from it, which needs a GitHub account.
Is there an online Python IDE with a debugger?
Two free ones. On Codespaces, "you get the power of a dedicated VM on which you can run and debug your application", with Git and Copilot's free plan alongside. Google's Cloud Shell Editor, based on Code OSS, has "full debugging support for Go, Node.js, Python, and Java applications" and built-in version control. AWS CloudShell has Git and terminal editors such as Vim and nano. Colab, Kaggle, CoCalc and JupyterLite run notebook cells; Colab adds a free terminal (Colab terminal) and Gemini for users 18 and over.
vscode.dev and github.dev: VS Code online, without Python
vscode.dev and github.dev (press . on a GitHub repository) are VS Code in your browser, free, with Python syntax checking, completions and Git commits. There's no computer behind them: "There is no associated compute, so you won’t be able to build and run your code or use an integrated terminal." Microsoft calls it "a very limited execution environment". So there's no Python, pip or debugger. To run the code, use Continue Working On to move to a codespace, or connect your own machine with Remote Tunnels.
No longer free: Replit, Ona (Gitpod) and Firebase Studio
- Replit: "As of November 2026, the Starter plan is no longer available to new builders." New accounts get a 3-day trial of Replit Core, $20 a month ($18 billed yearly). See Replit alternatives.
- Ona, formerly Gitpod: Ona joined OpenAI in a deal that closed on 10 August 2026, and Ona Cloud, its hosted Free and Core plans, shut down on 31 October 2026: "New signups have already closed." Ona now runs only in companies' own cloud accounts.
- Firebase Studio, formerly Project IDX: "As of June 22, 2026, new workspace creation and user signup are disabled." It shuts down on 22 March 2027, and Google points users to Google AI Studio or its Antigravity IDE.
Where Fastero fits
Fastero is an AI and data platform where people and AI agents work together on a team's data. It isn't a general-purpose IDE: to build an app or a library, use Codespaces or Cloud Shell. It fits when your Python is data work on a team's databases that should rerun and be shared, in notebooks on a server nobody has to look after:
- Ready to use: Python 3.11 with pandas, seaborn, plotly and DuckDB preinstalled, on a 1 CPU, 2 GB notebook server.
- Free plan, no end date, no card: notebooks and Python 6 hours a day, 500 MB of storage, and $20 of AI usage to start.
- SQL cells run on a saved connection to Postgres, MySQL, SQL Server, Redshift, Oracle or BigQuery and land in Python as a pandas DataFrame.
- Scheduled runs: a cron schedule runs the notebook on the server with no browser open; colleagues sign in to see results, and viewers are free.
What it lacks: a terminal, a debugger, Git push, and pip installs that persist; the server stops after about 10 idle minutes. On Pro, $20 per editor a month, a notebook can use a machine of up to 8 CPUs and 32 GB, charged by the second from your balance.

A notebook in Fastero: a pandas cell with data typed into the notebook, and its result. Sample data.
FAQ
What is the best free online Python IDE?
GitHub Codespaces, for a full environment: VS Code with a terminal, debugger and Git on a 2-core, 8 GB machine, 60 hours a month free. Google Cloud Shell gives 50 hours a week. For notebooks with lots of RAM, Kaggle gives 30 GB.
Is there a free online Python IDE with a terminal?
Yes. Codespaces, Google Cloud Shell, AWS CloudShell and CoCalc include a Linux terminal on their free tiers, and Colab's terminal has been free since July 2025. PythonAnywhere's free plan gives two consoles. vscode.dev and github.dev have no terminal.
Is GitHub Codespaces free?
For personal accounts, up to a monthly allowance: 120 hours and 15 GB-month of storage on GitHub Free, which is 60 hours on the smallest 2-core machine, and 180 hours and 20 GB-month on GitHub Pro. Organizations get no free quota.
Is Replit still free?
Not for new users. Replit's docs say the free Starter plan closed to new builders in November 2026; new accounts get a 3-day trial of Replit Core, $20 a month or $18 billed yearly. Existing Starter accounts keep their plan.
What happened to Gitpod?
Gitpod became Ona, joined OpenAI in August 2026, and shut down its hosted service, Ona Cloud, on 31 October 2026. Ona now runs only inside companies' own cloud accounts.
Do pip installs persist in an online IDE?
In Codespaces, until a rebuild; in Google Cloud Shell and AWS CloudShell, only inside your home folder, so use pip install --user. Colab and Kaggle start each session on a fresh machine. The dependable fix is a requirements.txt that a setup file, such as devcontainer.json, installs every time.
Sources
Read on 3 December 2026; measurements run the same day.
- GitHub: Codespaces billing, What are codespaces, Lifecycle, Timeout, Machine types, Minimum specification, Included usage, github.dev, Copilot plans
- Microsoft: VS Code for the Web, Python dev container tags; Dev Containers: schemas, CLI
- Google Cloud: Cloud Shell quotas, How Cloud Shell works, Cloud Shell Editor, Pricing
- AWS: CloudShell limits, Compute environment, FAQ
- PythonAnywhere: Pricing, Free accounts, RAM limits
- Google Colab: FAQ
- CoCalc: Pricing, Products, Tier data
- Jupyter: JupyterLite docs, Storage; V8: 4GB of WebAssembly memory
- Replit: Pricing, Starter plan
- Ona: Joining OpenAI, Ona Cloud shutdown, Ona Cloud docs
- Firebase: Firebase Studio, Sunset
- Python: os module; Docker: Resource constraints
- Our test: Windows 11, Core i7-11800H, 64 GB; Python 3.14.3; Docker Engine 29.5.2 in Docker Desktop,
python:3.11-slim(Python 3.11.14); JupyterLab 4.6.6; jsonschema 4.26.0; dev containers CLI 0.91.0
Try Fastero free: when your Python is data work, run it in a notebook with pandas preinstalled, on your team's databases and on a schedule. No credit card required.
Fastero Dev Team