Skip to content

VS Code on iPad: What Works in 2026

vscode.dev edits code on an iPad but cannot run it. A native app with a cloud Linux terminal can.

Updated 9 min read By Adam Roman, Co-founder of Cosyra

Cosyra Terminals screen on an iPad: workspace Awake, six agent shortcuts in two rows and the Home project
main.js from a Vite project open in the Cosyra file viewer on an iPad, with syntax highlighting, Search, Wrap and a pencil button

VS Code on an iPad means opening vscode.dev in Safari. You get the actual VS Code editor: open a repo, edit files, commit. What you do not get is a terminal or a runtime. By Microsoft's own statement the browser version is "a very limited execution environment" where "the terminal and debugger are not available." So you can edit code on an iPad, but you cannot run, build, or debug it there, and a Magic Keyboard does not change that, because the limit is the browser sandbox, not the keyboard. If running code is what you came for, the honest answer is a native app plus a persistent cloud Linux box, which is what we build as Cosyra for iPad. The screenshots above are from that app on an iPad: the Terminals screen and a project file open in its code viewer.

The iPad makes this question sharper than the phone version does. On a phone you can blame the small screen for vscode.dev feeling cramped. On an iPad, especially an iPad Pro with a Magic Keyboard, the screen is laptop-sized, the trackpad gives you a pointer and hover, and Stage Manager gives you windowing. The hardware excuse is gone. And yet the one thing that decides whether you can build software, a terminal, is still missing, for the same reason it is missing on the phone. This guide quotes Microsoft's docs and GitHub issue tracker directly so you are not taking our word for it, then shows the setup that actually gives you a terminal on an iPad. For the phone angle and the full four-surface breakdown, see our VS Code on your phone guide; for a head-to-head on the run-code question specifically, see Cosyra vs VS Code for the Web.

Diagram of the iPad paradox for VS Code for the Web in 2026. On the left, the iPad has the hardware that would make a desktop editor usable: a laptop-sized screen, a Magic Keyboard with a trackpad that adds pointer and hover, and Stage Manager windowing, so the 'too small for a desktop UI' excuse does not apply. In the center, vscode.dev opens in Safari as the real VS Code editor that can open and edit files, commit to git, use the command palette, and run web extensions, but it is an editor, not a computer. On the right, the browser sandbox limit remains: no terminal and no runtime, so you cannot run, build, or debug, by Microsoft's own statement, the touch and iPad layout has been in GitHub Backlog issue 85254 with the ios-ipados label since 2019, and Safari can only open single files, not whole folders. At the bottom, the fix is a native iPad app talking to a persistent cloud Linux container with a real terminal, which is Cosyra.
The iPad has the hardware a desktop editor needs; the browser sandbox still has no terminal. Diagram, not a screenshot, verified 2026-07-07 against code.visualstudio.com/docs/remote/vscode-web and microsoft/vscode issues #85254 and #256181.

The iPad paradox: the hardware is there, the terminal is not

Apple sells the iPad Pro as a computer that can replace your laptop, and for a lot of work it can. So the natural assumption is that VS Code in a browser, which feels cramped on a phone, finally comes into its own on an iPad. The editor itself does feel better: more room for the file tree, a real pointer from the trackpad, keyboard shortcuts from a hardware keyboard. We opened a repo in vscode.dev on an iPad Pro with the Magic Keyboard and it was a genuinely pleasant place to read and edit code.

Then we reached for a terminal to run the project, and there wasn't one. That is the paradox in one sentence: the iPad fixes the input problem and the screen problem, but the thing that stops vscode.dev from being a dev environment is neither. It is the browser sandbox, and the sandbox is the same on a $1,300 iPad Pro as it is on a phone. A better keyboard cannot add a runtime that the browser does not expose.

What actually works in vscode.dev on an iPad

vscode.dev on an iPad is good at a specific, narrow job, and the iPad makes that job nicer than the phone does. Reading and editing code, and committing it, all work well. Fixing a config file, reviewing a pull request diff, editing docs, making a quick change while you are on the couch without the laptop, the iPad's screen and keyboard make this comfortable. The editor is the real Monaco editor with the command palette and keybindings you know, so there is no learning curve.

Language help is tiered, and Microsoft's docs lay it out: most languages get syntax coloring and text-based completions; TypeScript, JavaScript, and Python get richer single-file completions and syntax errors; and JSON, HTML, CSS, and Markdown are "nearly identical to the desktop." What you lose is project-wide IntelliSense for most languages, because there is no compute to run a language server. For a Markdown or JSON edit on the sofa, none of that matters. For building and running software, it is the whole game.

The load-bearing limit: no terminal, no runtime

This is the fact that decides whether vscode.dev is enough for you on an iPad. Straight from the official VS Code for the Web docs:

"the terminal and debugger are not available, which makes sense since you can't compile, run, and debug a Rust or Go application within the browser sandbox."

Microsoft is not hiding this, and it follows it with the recommended fix: "if you need access to a runtime to run, build, or debug your code, you want to use platform features such as a terminal … we recommend moving your work to the desktop application, GitHub Codespaces, or using Remote - Tunnels." Every one of those moves the compute to a real machine and reaches it over the network. On an iPad the editor in Safari is, by design, just the front end, the same front end you would get on a phone, only with more screen around it.

One of those alternatives runs in the browser too, so it is worth being straight about. GitHub Codespaces opens in the same web VS Code, but because a real container sits behind it, Codespaces does give you a terminal in Safari. On an iPad Pro with a keyboard that makes it a legitimate way to run code from the browser, and its free tier of 120 core-hours a month is generous. The catch on a tablet is that it is still the non-touch web UI in a Safari tab, it has no native iPad app, and it is wired to your GitHub repos and Actions rather than being a plain Linux box you own. We walk through that trade-off in Cosyra vs GitHub Codespaces on mobile. Our own answer keeps the real terminal but drops the browser tab: a native iPad app, a Linux workspace that is not tied to your GitHub repos, a file editor with a live preview, and shortcuts for six coding agents.

We will say the opinionated part plainly, because it is what an "vscode on iPad" search is really chasing: the iPad is good enough hardware to be a real coding machine, and the thing holding it back is not the device, it is the decision to run the editor inside a browser. The edit-and-commit workflow is fine for small fixes. But the reason people want to code on an iPad in 2026 is to run a dev server, run a test, or hand a task to an AI coding agent, and none of that happens in a browser sandbox. People who say vscode.dev is "basically a laptop on the iPad" usually mean they only ever edit, never run.

Safari on iPad cannot open a project folder

There is one more iPad-specific catch worth knowing before you build a workflow around vscode.dev. Opening a local project folder in the browser relies on the File System Access API, which is implemented in Chrome and Edge but not in Safari. On an iPad, where every browser ultimately runs on Safari's engine, vscode.dev can open single files but not a whole local folder. The practical path is to open a GitHub or Azure Repos URL instead, for example https://vscode.dev/github/your-org/your-repo, which loads the repo through the service's API rather than from local disk. It works, but it means your "local" project on the iPad is not really local; it is a repo loaded over the network, with no terminal to act on it.

Touch and iPad support has been in the Backlog since 2019

Even for editing, the iPad experience has rough edges, and it has been a known gap for years. The request, issue #85254, "Web: Mobile Safari support," was opened on 2019-11-21 and carries the ios-ipados label specifically. As of 2026-07-07 it is still open, in the Backlog milestone. A Microsoft maintainer documents the gaps in the thread: missing wheel-event support, the Escape key not reachable, function keys absent, and hover-triggered UI that is hard to reach without a pointer. The Magic Keyboard's trackpad helps the hover problem, but the wheel-event and key gaps remain, and the in-thread conclusion is that without an external keyboard and mouse the web UI is "difficult to use."

A newer request, issue #256181, "Mobile-Friendly Layout for vscode.dev" (opened 2025-07-16), asks for larger touch targets, resizable panels, and a minimal small-screen layout. It is also open and in the Backlog with no commitment to ship. So the realistic read after six-plus years, with the ios-ipados label sitting on an unstaffed issue: a touch-optimized VS Code on the web for iPad may simply not arrive. That is worth knowing before you plan your iPad coding setup around it.

github.dev: the same gap, even lighter

If you only need to edit a GitHub repo from the iPad, github.dev is the fastest path. GitHub calls it "a lightweight editing experience that runs entirely in your browser," where you "navigate files and source code repositories" and "make and commit code changes." Press the period key on a repo and you are in. It is excellent for a quick fix from the couch. It also has no terminal and no compute, so the same ceiling applies on iPad as everywhere else: edit and commit, do not run.

How to actually run code from an iPad

The pattern that works is the one vscode.dev is missing: a native app talking to a persistent cloud Linux workspace, so the editor has a computer behind it. That is what we build. Cosyra gives your iPad an Ubuntu workspace with Node and git installed and 30 GB of disk, and a server you start keeps running when you leave the terminal. The workspace belongs to your account, so the same files are there on your iPhone.

So the honest answer to "VS Code on an iPad" is three things: a real runtime, a file editor and a live preview. Below I start a small web app, edit one of its files and watch the page change.

I took the steps and screenshots below in the Cosyra 2.9.0 app on November 3, 2026. The Terminals screen and the main.js viewer are from an iPad Pro 11-inch. I shot the terminal, preview, Files and editor steps on an iPhone, in the same workspace.

Step 1

Install Cosyra on the iPad and open Terminals

Install Cosyra from the App Store and sign in with Apple, Google, GitHub or email. The app opens on Terminals. On the iPad all six agent shortcuts fit on screen.

The chip next to the title shows your workspace. On a new account it says Not started; tap Start your workspace once and it turns Awake.

Cosyra Terminals screen on an iPad: workspace Awake, six agent shortcuts in two rows and the Home project

Step 2

Open a terminal

Tap New, then New terminal. You get a shell in your workspace at the cosyrauser:~$ prompt. I checked the tools first: Node v22.23.4 and git 2.34.1 were there.

The toolbar above the on-screen keyboard has Esc, Tab, Ctrl and the arrow keys. The up arrow brings back the previous command.

Cosyra terminal on an iPhone after checking versions: opencode v2.2.4, Node v22.23.4 and git 2.34.1, with the key toolbar above the keyboard

Step 3

Scaffold and start a Vite dev server

I made a small Vite app and started its dev server:

mkdir -p ~/projects/pomodoro
cd ~/projects/pomodoro
npm create vite@6 web -- --template vanilla
cd web
npm install
npm run dev -- --host

Vite reported it was ready on port 5173. The terminal header now shows localhost:5173 under the title.

Vite v6.4.5 dev server ready in a Cosyra terminal, with localhost:5173 under the terminal title

Step 4

Open the preview as a floating window

Tap localhost:5173 under the title. The page opens in the app's browser.

Minimize the preview and it shrinks to a floating window over the terminal, with reload and close buttons.

Vite starter page in a small floating preview window over the Cosyra terminal, with reload and close buttons

Step 5

Browse the project in Files

Open the sidebar. It has Terminals, Code and Files, and under Running apps it listed my server as web on port 5173.

Tap Files and go to ~/projects/pomodoro/web. The breadcrumb at the top shows the path, with search and sort beside it. Grouped view splits the folder into Folders, Files, Dotfiles and Gitignored, where node_modules stays hidden until you tap Show. List view is one tap away.

Cosyra Files showing the web project in Grouped view: Folders, Files, Dotfiles and node_modules hidden under Gitignored

Step 6

Open main.js

Open src and tap main.js. It opens in a viewer with syntax highlighting, Search and Wrap. The pencil at the top right switches to edit mode.

main.js open in the Cosyra file viewer on an iPad at ~/projects/pomodoro/web/src, with syntax highlighting, Search, Wrap and a pencil button
I took this iPad shot after the edit in step 7, so the heading already reads Hello from my phone!

Step 7

Edit the file with the code keys

Tap the pencil. Edit mode adds Cancel and Save, and a row of code keys above the keyboard:

  • Brackets and quotes: (), [], {}, <>, "", '' and the backtick
  • Punctuation: ;, :, . and ,
  • Tab, Untab, a comment toggle, Dup, Enter and Done

I changed the heading from Hello Vite! to Hello from my phone!.

main.js in Cosyra edit mode on an iPhone, with the h1 changed to Hello from my phone!, Cancel and Save, and a row of code keys above the keyboard

Step 8

Save and watch the preview update

Tap Save and go back to the terminal. The floating preview showed Hello from my phone! on its own. That is Vite's hot reload, running in the workspace.

Floating preview over the Cosyra terminal showing Hello from my phone! after the edit was saved

To have an agent write the code instead, Claude Code, Codex and OpenCode are shortcuts on the Terminals screen: see Claude Code on iPad, Codex CLI on iPad and OpenCode on iPad.

Try it on your iPad. Sign up and pick a plan. Eligible new users can start a 7-day free trial in the App Store app. App Store / Google Play / Pricing details

How the iPad coding options compare

Lined up against what matters when the device on your lap is an iPad, a real terminal, a native app, and whether you can actually run your code, the surfaces sort out clearly. The table covers the realistic paths as of 2026-07-07. If you are weighing more than just VS Code, our coding on iPad guide lines up every editor, agent, and cloud terminal that does or doesn't run on a tablet.

Feature vscode.dev (Safari) github.dev (Safari) Cosyra (native iPad app)
Edit and commit code Yes Yes Yes
Open a local project folder No (Safari, single files only) No (GitHub repos only) Yes (full Linux filesystem)
Terminal No No Yes
Run / build / debug No No Yes (real runtime)
Native iPad app No (browser only) No (browser only) Yes
Touch / iPad layout No (Backlog since 2019) No Yes
AI agents Web extensions only None 6 agent shortcuts
Persistent environment Browser local storage None Ubuntu, 30 GB
Cost Free Free From $20/mo

Where VS Code for the Web wins on iPad

A fair comparison names what the other tool does better, so here it is with no hedging. vscode.dev and github.dev beat Cosyra on these, and if they describe your situation you should use them:

Who should pick which on an iPad?

Here is the decision framework we would give a friend, with the "can I run it" question front and center.

Frequently asked questions

Can you run code in VS Code on an iPad?

Not in VS Code for the Web. Microsoft's own docs state that "the terminal and debugger are not available, which makes sense since you can't compile, run, and debug a Rust or Go application within the browser sandbox." vscode.dev in Safari is the real editor, so you can write and commit code on an iPad, but you cannot run, build, or debug it there. A Magic Keyboard does not change that, because the limit is the browser sandbox, not the input device.

Is there an official VS Code app for iPad?

No. Microsoft ships no native iPadOS VS Code app. The iPad story is "open vscode.dev in Safari." A touch-and-iPad layout has been requested since GitHub issue #85254 was opened on 2019-11-21, the issue carries the ios-ipados label, and it is still open in the Backlog more than six years later. Third-party apps named "VS Code mobile" exist, but they are not Microsoft products.

Does a Magic Keyboard fix VS Code for the Web on iPad?

It helps the input, not the limit. The Magic Keyboard's trackpad adds a pointer and hover, which fixes some of the hover-triggered UI that a touch screen cannot reach. But the load-bearing problem is that the browser sandbox has no terminal and no runtime, so even with a full keyboard and trackpad you still cannot run, build, or debug your code in vscode.dev. The hardware removes the touch excuse; it does not remove the sandbox.

Why can't Safari on iPad open a project folder in vscode.dev?

vscode.dev uses the browser File System Access API to open local folders, and that API is implemented in Chrome and Edge but not in Safari. On an iPad, where Safari is the browser, vscode.dev can open single files but not a whole local folder. The reliable path is to open a GitHub or Azure Repos URL instead, which loads the repo through the service's API rather than from local disk.

What is the difference between vscode.dev and github.dev on iPad?

github.dev is even lighter. GitHub describes it as "a lightweight editing experience that runs entirely in your browser" where you "navigate files and source code repositories" and "make and commit code changes." You open it by pressing the period key on any GitHub repo or by swapping .com for .dev in the URL. Like vscode.dev it has no terminal and no compute, so on an iPad it is a fast repo text editor with git commit, not a dev environment.

If vscode.dev cannot run code, how do I run code from an iPad?

You need an editor with a computer behind it. The options Microsoft itself points to (Codespaces, Remote Tunnels, the desktop app) all move the compute somewhere real and reach it over the network. On an iPad the cleanest version is a native app talking to a persistent cloud Linux container with a real terminal, which is what we built Cosyra to be: you edit and run in the same place, on the tablet on your lap.

tl;dr

VS Code on an iPad means vscode.dev (or github.dev) in Safari. It is the real editor and it edits and commits fine, and on the iPad's big screen with a Magic Keyboard it is comfortable, but it has no terminal and cannot run, build, or debug your code, by Microsoft's own statement, and a better keyboard does not change that. There is no official native VS Code iPad app, and a touch layout has been in the Backlog since 2019. Use vscode.dev for quick edits. To actually run code or an AI agent from an iPad, use a native app on a persistent cloud Linux box with a real terminal. That is Cosyra: a terminal, a file editor and a live preview, with shortcuts for six coding agents.

App Store / Google Play. Sign up and pick a plan. Eligible new users can start a 7-day free trial in the App Store app. See pricing.

For the wider picture, our guide to AI coding agents on mobile maps every agent across phone and tablet, and the mobile coding terminal pillar covers the terminal-on-a-device decision end to end. If you are weighing the iPad specifically for AI coding, see our Claude Code on iPad walkthrough, and for other browser-only IDEs that hit the same wall on a tablet, our Firebase Studio on iPad and Coder on iPad guides. Zed has it even worse than the browser IDEs, no iPad app and no web build at all, which we cover in Zed on iPad. Kiro, AWS's agentic IDE built on Code OSS, sits in the same desktop-first bucket: its editor is desktop-only, and its browser surface (Kiro Web) is a paid autonomous-PR dashboard rather than an editor you would drive from a tablet, which we cover in Kiro on iPad. Cursor, the other big VS Code fork, does ship a native iPad app (iPadOS 26 or later, still in beta as of 2026-10-28), but that app launches and reviews cloud agents rather than editing code, and starting them needs Premium or higher or a legacy paid plan; our Cursor on iPad guide walks through what it does and does not cover.

Get a real terminal on your iPad. Install Cosyra, start a dev server, and edit your code with a live preview floating over the terminal.

See pricing