Secure development made simple
GitHub Codespaces gets you up and coding faster with fully configured, secure cloud development environments native to GitHub.
class="o_editable">Hello, World
Secure by design
Created with security in mind, Codespaces provides a secure development environment through its built-in capabilities and native integration with GitHub.
Isolated Environments
Each codespace runs in a dedicated VM with its own resources, keeping your code and data separate from other users.
Access Control
Administrators can manage who can use Codespaces, set spending limits, and control which repositories are accessible.
Cost Control
Set spending limits per user and org. Codespaces auto-stop after periods of inactivity to keep costs in check.
Collaborate where you code
Codespaces provides a shared development environment and removes the need for complex, time consuming setups.
{ "name": "My Project", "image": "mcr.microsoft.com/devcontainers/python:3.11", "features": { "ghcr.io/devcontainers/features/node:1": {} }, "postCreateCommand": "pip install -r requirements.txt" }
Your space, your way
- Start coding instantly from anywhere in the world. Open a codespace from any device with a browser — no local setup required.
- Tabs or spaces? Monokai or Solarized? Bring your dotfiles, themes, and extensions. Codespaces feels just like your usual machine.
.hero { background: linear-gradient(135deg, #0d1117, #1f6feb); color: #e6edf3; padding: 80px 0; } .btn-primary { background: #238636; border-radius: 6px; }
Browser preview and port forwarding
Preview your changes and get feedback from teammates by sharing ports within the scope allowed by policy.
Onboard faster
Quickly spin up a codespace with only an IDE or browser and a GitHub account. With a few configuration files, you can give your developers an instant, fully configured, and secure development environment so they can start coding immediately.
What you can do with Codespaces
Code from any device
Access your full development environment from any computer with a browser. No more "works on my machine."
Onboard at the speed of thought
New team member? Share a devcontainer.json and they're coding in minutes, not days.
Fix bugs right from a pull request
Open a codespace directly from a PR, reproduce the bug, fix it, push — without ever leaving your browser.
What used to be a 15-step process is just one step: open Codespaces and you're off and running.
Codespaces lets developers skip the tedious, error-prone stuff that normally stands between them and getting started on real work.
Frequently asked questions
Codespaces is a cloud development environment hosted by GitHub. It provides a pre-configured, containerized environment that runs on a virtual machine in the cloud, accessible via your browser or supported IDEs.
Navigate to any repository on GitHub and click the Code button, then select "Open with Codespaces." You can also create a new codespace from github.com/codespaces.
Yes! All GitHub users get 60 hours of Codespaces compute and 15 GB of storage per month for free on GitHub Free and GitHub Pro plans.
Yes. GitHub Team and GitHub Enterprise Cloud plans include Codespaces with organization-level controls, spending limits, and policy management.
Codespaces is billed based on compute hours and storage used beyond the free tier. Pricing starts at $0.18/hour for a 2-core machine.
GitHub Codespaces runs on GitHub's infrastructure and is not available for self-hosting. For on-premises solutions, consider GitHub Enterprise Server with Actions Runner Controller.