Pterocos is a free, browser-based code editor that lets you write and run code instantly without installation or signup. It supports 14 programming languages including HTML, CSS, JavaScript, Python, SQL (SQLite, PostgreSQL, DuckDB), Lua, C#, Ruby, PHP, Rust, C++, C, Java, Kotlin, Swift, and more, along with 13 preprocessors like SCSS, TypeScript, JSX, and Babel. Built on the Monaco editor engine (same as VS Code), it offers syntax highlighting, IntelliSense, and multi-cursor editing. Pterocos runs entirely in the browser, works on any modern device, and includes features like live preview, unlimited projects, backup/restore, and password-protected share links. It is open source and free forever, with no credit card or account required.
What is Pterocos?
Pterocos is a free, open-source, browser-based code editor that allows users to write and run code in multiple languages directly from their web browser. It takes code input in languages like HTML, CSS, JavaScript, Python, SQL, and Lua, and produces live previews or execution results in real-time. The platform runs entirely client-side, requiring no server or installation, and is developed by the Pterocos team.
Key Features
- Multi-Language Support — Write and run code in 14 languages including Python, SQL (SQLite, PostgreSQL, DuckDB), Lua, C#, Ruby, PHP, Rust, C++, C, Java, Kotlin, Swift, and more.
- Preprocessor Support — Use 13 preprocessors for HTML (Pug, Markdown), CSS (SCSS, Sass, Less), and JavaScript (TypeScript, JSX, CoffeeScript, Babel, LiveScript).
- Monaco Editor Engine — Powered by the same engine as VS Code, offering syntax highlighting, IntelliSense, and multi-cursor editing.
- Zero Friction — No install, no signup, no configuration; open your browser and start coding instantly on any device.
- Privacy First — Respects user privacy with no account required.
- Portfolio Creation — Create a public portfolio page at dev.us.kg/portfolio?=username, showcasing published projects, views, forks, and donation links.
- Open Source — View the source code on GitHub.
Who is it for?
- Web developers — Use Pterocos to quickly prototype HTML, CSS, and JavaScript with live preview, ideal for testing snippets or building small projects.
- Data analysts — Run SQL queries on SQLite, PostgreSQL, or DuckDB directly in the browser to test database operations without setting up a local environment.
- Educators and students — Use Pterocos in classrooms or for self-learning to practice coding in multiple languages without installation barriers.
- Indie hackers — Test quick Python or Lua scripts, or share projects with password-protected links for feedback.
What can you do with Pterocos?
- Rapid prototyping: Write HTML/CSS/JS and see the result instantly, making it easy to iterate on UI designs or test layout ideas.
- SQL experimentation: Run SQL queries on SQLite, PostgreSQL (PGlite), or DuckDB to validate database schemas or practice query writing.
- Portfolio building: Create a public developer portfolio page that automatically displays your published Pterocos projects, view counts, and fork counts, with optional donation links.
- Multi-language scripting: Execute Python, Lua, Ruby, PHP, and other languages for quick scripting tasks or algorithm testing.
How does Pterocos work?
Pterocos runs entirely in the browser using the Monaco editor engine. Users select a language or preprocessor, write code in the editor, and see live previews or run results instantly. For SQL, it uses embedded databases like SQLite and PGlite (PostgreSQL) that run client-side. Projects can be saved, backed up, and shared via password-protected links. The platform requires no server-side processing, making it fast and private.
Pricing
Pterocos is completely free forever.