One Compiler helps over 12.8 million users worldwide write code online.


Embed our Editor & Challenges as an iFrame into your website to get the code execution capabilities in minutes.
Build more complex use-cases by calling our APIs from your backend applications to run code, read reports etc.,
Reach out to us to build custom workflows that are not covered by APIs, to solve your use-cases










The agent inside the editor reads your workspace, edits files in place, creates new ones and cleans up after itself, step by step, while you watch. Every change lands behind a checkpoint you can roll back. Nothing to install.
1<!doctype html>2<html lang="en">3 <head>4 <meta charset="utf-8" />5 <title>My site</title>6 <link rel="stylesheet" href="styles.css" />7 </head>8 <body>9 <header>10 <h1>My site</h1>11 <button id="theme-toggle" aria-label="Toggle dark mode">🌙</button>12 </header>13 <main>…</main>14 <script src="script.js"></script>15 </body>16</html>
The header has a toggle button now. styles.css switches colours on a dark class, and script.js saves the choice in localStorage so it sticks on refresh. Run it and try the button.
Changes stream straight into the editor with every changed line marked.
Reads, edits, creates and deletes files across your workspace to finish one instruction.
Restore it, re-apply it, or go file by file with Apply and Reject before you move on.
Your files, input, the last run's output and the code you've selected.
Dictate with the mic, paste a screenshot, or attach files to a turn.
Models from OpenAI, Anthropic, Google, DeepSeek, xAI and more. Free ones included.