Skip to main content
Loading editor…

Your files are saved in this browser only — nothing is uploaded. Code runs in a sandboxed frame that cannot read this page or your AltFTool session.

AltF Code — a free online code editor that runs in your browser

AltF Code is a free, no-signup code editor built on Monaco, the same editor engine that powers Visual Studio Code. That means it is not a textarea with colours painted on it — you get genuine IntelliSense, multi-cursor editing, bracket matching, find-and-replace and the keyboard shortcuts you already know. Write HTML, CSS and JavaScript, press Run, and the result renders instantly beside your code.

What you can do

  • Edit a real multi-file project. Add files, switch between them with tabs, and organise them in the explorer — the same shape as a desktop editor.
  • Run it and see it. HTML, CSS and JavaScript execute live in the preview panel, and Python runs on CPython compiled to WebAssembly; the console panel captures every console.log, error and unhandled rejection.
  • Keep your work. Files are written to your browser’s local storage as you type, so a refresh does not lose them, and you can download any file at any time.
  • Stay private. Nothing is uploaded. Your code runs in a sandboxed frame that cannot reach this page or your session.

Supported languages

Editing and syntax highlighting are available for 63+ languages: HTML, CSS, JavaScript, TypeScript, JSON, Markdown, Python, SQL, YAML, XML, Shell / Bash, Java, C, C++, C#, Go, Rust, PHP, Ruby, Swift, Kotlin, Dart, Scala, R, Lua, Perl, Julia, Elixir, Clojure, F#, Objective-C, Pascal, PowerShell, Batch, Dockerfile, GraphQL, SCSS, Less, INI / TOML, Terraform / HCL, Protocol Buffers, Solidity, Visual Basic, MySQL, PostgreSQL, Redis, Handlebars, Pug, Twig, Razor, CoffeeScript, reStructuredText, Apex, ABAP, WGSL, SPARQL, SystemVerilog, Tcl, Scheme, Structured Text, Bicep, Azure CLI, Cypher. Browser execution covers HTML, CSS and JavaScript in a sandboxed frame, plus Python on a WebAssembly build of CPython. Other languages are fully editable, and the page says so rather than pretending to run them.

Common questions

What is AltF Code?
AltF Code is a free online code editor that runs in your browser. It uses Monaco — the same editor engine that powers Visual Studio Code — so you get real syntax highlighting, IntelliSense, multi-cursor editing and the VS Code keyboard shortcuts, with no install and no account.
Is AltF Code free, and do I need an account?
It is completely free and needs no sign-up. Open the page and start typing. Your files are saved in your own browser's local storage, so they are still there when you come back, and nothing is uploaded to AltFTool.
Which languages does the editor support?
The editor highlights and provides editing support for 63+ languages including HTML, CSS, JavaScript, TypeScript, JSON, Markdown, Python, SQL, YAML, Java, C++, C#, Go, Rust, PHP and Ruby. Four of them actually execute in the browser: HTML, CSS and JavaScript render live in the preview, and Python runs on a real CPython build compiled to WebAssembly (the first Python run downloads about 6 MB). Every other language is fully editable and highlighted, but not executed.
Can I run my code and see the result?
Yes. Press Run (or Ctrl/Cmd + S) and your HTML, CSS and JavaScript render instantly in the preview panel, with anything you console.log() piped into the Console panel — including errors and unhandled promise rejections. A .py file runs instead on CPython compiled to WebAssembly, and its output and tracebacks arrive in the same Console panel.
Is my code private and secure?
Your code never leaves your device: there is no server round trip and no storage on AltFTool's side. It runs inside a sandboxed frame with no same-origin access, which means the code you write cannot read this page, your cookies, or your AltFTool session.
Does my work survive a page refresh?
Yes. The workspace is written to your browser's local storage as you type, so refreshing or returning later restores your files. Clearing your browser data clears them too, so download anything you want to keep.