Home Alternatives Open source OSI-licensed only · self-hostable
Open-Source CodePen Alternatives (2026) CodePen is a hosted social playground for front-end code. Open-source tools fall into two groups: playgrounds you can host or run offline, and components or editors you embed in your own site.
Every tool below is under an OSI-approved licence (MIT or Apache-2.0), checked against its repository.
Licences checked against each repository on November 7, 2026.
What you're replacing • Live HTML, CSS and JavaScript editing• Sharing small demos• Framework and preprocessor support• Embedding examples in docs or blogsAt a glance Tool Best for Licence Runs as LiveCodes Closest CodePen-style playground MIT Server Web Maker Offline front-end experiments MIT Desktop app Sandpack Embedding live code in your docs Apache-2.0 Server code-server Full editor in the browser MIT Docker OpenVSCode Server Upstream VS Code in the browser MIT Docker
1. LiveCodes MIT Best for: Closest CodePen-style playground
A free, open-source, client-side code playground supporting React, Vue, Python and 90+ other languages and frameworks.
Strengths + Many languages and frameworks + Client-side + MIT licence Trade-offs − Fewer social features − Self-hosting needs setup
2. Web Maker MIT Best for: Offline front-end experiments
An offline, fast front-end code editor for web experiments, similar to CodePen or JSFiddle.
Strengths + Works offline + Fast + MIT licence Trade-offs − No community gallery − Less framework support
3. Sandpack Apache-2.0 Best for: Embedding live code in your docs
A component toolkit for creating live-running code editing experiences, using the power of CodeSandbox.
Strengths + Embeddable + Apache-2.0 + Good for docs sites Trade-offs − A toolkit, not a ready playground − Needs developers
4. code-server MIT Best for: Full editor in the browser
Lets you run VS Code on a remote machine and access it through a web browser.
Strengths + Full VS Code experience + MIT licence + Self-hosted Trade-offs − Heavier than a playground − No sharing features
5. OpenVSCode Server MIT Best for: Upstream VS Code in the browser
Runs upstream VS Code on a remote machine with access through a modern web browser from any device.
Strengths + Upstream VS Code + MIT licence + Browser access Trade-offs − Heavier than a playground − No sharing features New open-source tools, weekly One email a week with the open-source projects, launches and releases added to TechLogHub. Unsubscribe in one click.
Get the TechLogHub digest One email a week: new and trending developer tools, fresh comparisons, and what shipped. Unsubscribe in one click.
How to choose If you need… Start with CodePen-style playground LiveCodes Offline experiments Web Maker Live examples in your docs Sandpack A browser IDE for projects code-server or OpenVSCode Server A hosted-style service with gallery None of these match CodePen's community; use LiveCodes for the workflow
Open-source CodePen alternatives: FAQ Quick answers to common questions
Is there an open-source version of CodePen? CodePen is a hosted service. LiveCodes and Web Maker are open-source playgrounds with similar workflows.
Can I self-host a CodePen alternative? LiveCodes is client-side and can be self-hosted, while code-server and OpenVSCode Server run on your own machine.
What can I use to embed live code? Sandpack, which is built to embed live-running editors.
Do these have public sharing and profiles? Generally less than CodePen, which has a community. Check each one.
Do they support React and Vue? LiveCodes lists React, Vue and 90+ other languages and frameworks.
Maintain an open-source CodePen alternative? List it on TechLogHub and we'll review it for this page.
Submit a project