Pterocos is a free, browser-based code editor that lets you write and run HTML, CSS, JavaScript, Python, SQL, Lua, and more without installation or signup.
What is Pterocos?
Pterocos is a zero-friction online IDE that runs entirely in your browser. It takes source code as input and produces live previews (for web languages) or execution output (for Python, SQL, Lua). The platform is open-source and built by Amin Kheddache.
Key Features
- Live Preview — See HTML, CSS, and JavaScript render instantly as you type, with no refresh or delay.
- Multi-Language Support — Write and run code in 13 languages including Python, SQLite, PostgreSQL (PGlite), DuckDB, Lua, C#, Ruby, PHP, Rust, Java, Kotlin, and more.
- Preprocessor Support — Compile SCSS, Sass, Less, TypeScript, JSX, CoffeeScript, Babel, LiveScript, Pug, and Markdown directly in the editor.
- Monaco Editor Engine — Powered by the same engine as VS Code, providing syntax highlighting, IntelliSense, and multi-cursor editing.
- Secure Share Links — Share projects with password-protected links for collaboration or showcasing.
- Portfolio Generator — Create an auto-generated developer portfolio page that displays your published projects, view counts, and fork counts.
- Zero Setup — No install, no signup, no configuration. Works on any device with a modern browser.
Who is it for?
- Web developers — Quickly prototype and test HTML/CSS/JS with instant live feedback.
- Data analysts — Run SQL queries using SQLite, PostgreSQL, or DuckDB without setting up a local database.
- Students and learners — Experiment with Python, Lua, or other languages in a frictionless environment.
- Indie hackers and freelancers — Create and share code snippets or entire projects with professional share links.
What can you do with Pterocos?
- Build and preview web pages — Combine HTML, CSS, and JavaScript with preprocessors like SCSS and TypeScript.
- Run SQL analytics — Use DuckDB or SQLite to query datasets directly in the browser.
- Create a developer portfolio — Pick a username, add a bio, select skills, and automatically list your published Pterocos projects.
- Share projects securely — Generate password-protected links for clients or collaborators.
Pricing
Pterocos is completely free forever. No plans, no tiers, no hidden fees, and no credit card required. All features are available to everyone.