GitHub Codespaces

GitHub Codespaces provides configured development environments hosted in the cloud. A repository can define a repeatable setup using dev container configuration files, and a codespace can start from a template or a repository branch or commit. Each environment runs in a Docker container on a GitHub-hosted virtual machine. Machine choices range from 2 cores, 8 GB RAM, and 32 GB storage to 32 cores, 128 GB RAM, and 128 GB storage. Developers can connect through a browser, Visual Studio Code, or GitHub CLI from any internet-connected device, including an iPad. An extension can also connect a GitHub account to a local Visual Studio Code installation. Every codespace has its own virtual machine and isolated network, including after restart; connections use a TLS-encrypted tunnel and GitHub authentication. Forwarded ports are private by default. GitHub Free personal accounts include 120 compute hours and 15 GB-month of storage, while GitHub Pro includes 180 hours and 20 GB-month. Compute and storage are billed monthly when used beyond included allowances. Codespaces cannot be self-hosted and is unavailable for repositories owned by managed user accounts.

Who it is for

Codespaces suits developers who want cloud-hosted, repeatable project environments accessible through a browser, Visual Studio Code, or GitHub CLI. It is not suitable for repositories owned by managed user accounts or teams requiring a self-hosted setup.

What is good

  • Repository configuration can define repeatable environments.
  • Connect through browser, Visual Studio Code, or CLI.
  • Can start from a template, branch, or commit.
  • Each codespace has an isolated virtual network.
  • Forwarded ports are private by default.

What to know first

  • Cannot be self-hosted.
  • Unavailable for repositories owned by managed user accounts.
  • Compute and storage are usage-billed beyond included quotas.

Freedom251 review

GitHub Codespaces: the full review

Codespaces combines configurable cloud workspaces with browser, editor, and CLI access. Check included usage and the managed-account restriction against your repository setup.

Overview

GitHub Codespaces turns a GitHub repository into a configured development workspace hosted in the cloud. It is strongest for individuals and teams who want a repeatable project environment they can open from different devices or editors; it is a poor fit for repositories owned by managed user accounts or anyone who needs to self-host.

Each workspace runs in a Docker container on a GitHub-hosted virtual machine, and repository dev container files let a project define its environment. Users can start from a template, branch, or commit, then connect through a browser, Visual Studio Code, or GitHub CLI. That flexibility is useful when a developer’s local machine is not the right place to run a project, but Codespaces remains tied to GitHub-hosted infrastructure.

For teams considering Cloud Development Environments, its appeal is the combination of repository-based setup and remote access. Readers comparing development tools more broadly can also browse Web Development IDEs or DevOps Platforms.

Key features

Repeatable workspaces with flexible capacity

Dev container configuration files allow a project to describe an environment that users can recreate, reducing the need to align every local setup manually. Machine choices range from 2 cores, 8 GB RAM, and 32 GB storage to 32 cores, 128 GB RAM, and 128 GB storage. That breadth can accommodate different workload sizes, though larger machines raise usage costs quickly. Prebuilds, persistent storage, terminal access, and codebase indexing are supported.

Access across editors and devices

A codespace can be opened in a browser, Visual Studio Code, or GitHub CLI, and the GitHub Codespaces extension connects a GitHub account to work from a local Visual Studio Code installation. Codespaces can be started from any internet-connected device, including an iPad. The supported IDE list also includes Visual Studio, JetBrains IDEs, Eclipse, and Xcode, while supported languages include C#, Go, Java, JavaScript, Python, Ruby, and TypeScript. This makes it adaptable to varied developer setups, but not independent of an internet connection.

Isolation and organization controls

Each codespace gets a newly built virtual machine and isolated virtual network, including a new VM when it restarts. Connections use a TLS-encrypted tunnel and GitHub authentication, with a new GitHub token issued on creation or restart. Forwarded ports are private by default; organization owners can limit public or organization-wide visibility. Organizations can also choose which users and repositories have access and set spending limits. These controls suit managed team use, though managed user accounts cannot use Codespaces for their repositories.

Pricing

Codespaces is freemium, with usage billed monthly. GitHub Free personal accounts include 120 compute hours and 15 GB-month of storage; GitHub Pro includes 180 compute hours and 20 GB-month. Free usage is therefore useful for occasional work, but it is a quota rather than an unlimited workspace allowance. On GitHub Free, additional 2-core compute costs $0.18/hour beyond quota, and storage costs $0.07/GB-month.

Pay-as-you-go compute starts at $0.18 per month for a 2-core machine, with usage billed monthly; the hourly rate is $0.18 for 2 cores, $0.36 for 4 cores, $0.72 for 8 cores, $1.44 for 16 cores, and $2.88 for 32 cores. Codespaces storage is $0.07 per month, billed monthly, for storage for codespaces and prebuilds; the usage rate is $0.07/GB-month. These rates let users choose capacity rather than commit to one machine size, but sustained use or larger machines can make the monthly bill materially higher than the entry rate. The paid-from amount is 10 /user/mo.

Organizations that need access and spending controls can set spending limits, but Codespaces is not available for repositories owned by managed user accounts. There is no self-hosted option, so teams requiring infrastructure under their own hosting control should look elsewhere.

Platforms

Codespaces supports Android, iOS, Linux, macOS, Windows, and web, alongside API and extension access. The device range is practical for developers moving between computers or using a tablet, while the cloud-hosted runtime means a supported device still needs internet access.

Who it's for

Codespaces is a strong choice for GitHub-based projects that benefit from reproducible development environments, especially teams that want to control repository access and spending centrally. It also suits individual developers who need to open a project from different devices or use more compute than their local machine provides. It is not the right choice for a managed-account repository, offline development, or a team that requires self-hosting.

Pros and cons

  • Pros: Dev container files make project environments repeatable, which helps teams avoid mismatched local setups.
  • Pros: Browser, editor, CLI, and internet-connected device access—including iPad—give developers several ways to reach the same workspace.
  • Pros: Private-by-default forwarded ports, isolated virtual networks, fresh tokens, and organization spending controls support a more governed team setup.
  • Cons: Free personal usage has fixed compute and storage allowances, so frequent use can move into monthly charges.
  • Cons: Higher-core machines cost more per hour, making sustained large-workspace use more expensive than the starting rate suggests.
  • Cons: Cloud-only hosting excludes teams that need self-hosting, and managed user account repositories are unsupported.

Alternatives

Replit is worth considering for developers who want a free starter tier with daily usage, one live project, and one background task at a time across web, desktop, and mobile platforms.

Alpha Anywhere is an alternative for readers seeking a free community edition for web and mobile development, with connections to any data source and unlimited apps.

Pinegrow is a different fit for people who want a dedicated HTML/CSS editor with Bootstrap, components, live SASS, and multiple views, rather than a cloud-hosted workspace.

Theia IDE offers a free, open-source IDE with an online demo limited to 30 minutes per session; consider it if that model better suits your needs.

Visual Studio Code is a free alternative for readers who want a standalone editor across Linux, macOS, web, and Windows.

Apache NetBeans is free for commercial and non-commercial use under Apache License 2.0, making it an option for readers who want that licensing model.

Eclipse IDE is a free and open-source alternative under Eclipse Public License 2.0, with packages for Java, Enterprise Java and Web, C/C++, DSL, and RCP/RAP.

GoLand is another option for developers seeking a Go-focused IDE.

Readers comparing adjacent categories can also explore Code Quality Management Software, Issue Tracking Software, and AI Code Generators.

Verdict

Choose GitHub Codespaces if your work already lives on GitHub and you want repeatable, configurable environments that are reachable through a browser, editor, or CLI. Its combination of machine choices, cross-device access, and organization controls is compelling for that workflow. Look elsewhere if you need self-hosting, work from managed user account repositories, or expect heavy usage without budgeting for compute and storage charges.

GitHub Codespaces plans and pricing

All plans
2-core compute $0.18/mo Usage is billed monthly. 2-core machine docs.github.com · 22 Sept 2026
4-core compute $0.36/mo Usage is billed monthly. 4-core machine docs.github.com · 22 Sept 2026
8-core compute $0.72/mo Usage is billed monthly. 8-core machine docs.github.com · 22 Sept 2026
16-core compute $1.44/mo Usage is billed monthly. 16-core machine docs.github.com · 22 Sept 2026
32-core compute $2.88/mo Usage is billed monthly. 32-core machine docs.github.com · 22 Sept 2026
Codespaces storage $0.07/mo Usage is billed monthly. Storage for codespaces and prebuilds docs.github.com · 22 Sept 2026

Compared on coding playgrounds

Free plan
Yes
Paid from
$10/user/mo
Agent mode
Yes

Best GitHub Codespaces alternatives

See all 12