Browser IDE
Move from CodePen
Turn a Pen into a portable multi-file project you can continue with a full IDE and Linux runtime.
Typical migration: Easy–Moderate · Best method: Export · Copy source
Before You Move
- Save/export the latest Pen.
- List external scripts, stylesheets, preprocessors and hosted assets.
- Record any deployment/custom-domain details you need to recreate.
Migration Steps
- 1. Collect files — Export or copy HTML, CSS, JavaScript and assets.
- 2. Create project — Start an HTML/Vite/appropriate web project in Interactive Shell.
- 3. Move dependencies — Convert external libraries into explicit URLs or package dependencies as appropriate.
- 4. Preview — Run the project and compare the private preview with the original Pen.
- 5. Version — Initialize or connect Git when you want durable history.
Where Things Go
| Pen files | Project files/folders |
|---|
| Preview | Private Web Preview |
|---|
| Blocks/preprocessors | Project build dependencies |
|---|
| Collaboration | Authenticated collaboration |
|---|
| Deployment | Publish supported web projects |
|---|
Verify
- HTML/CSS/JS behavior matches.
- External assets load.
- Package/preprocessor configuration works.
- Preview has no console errors.
Common Issues
- External resources — A Pen can rely on editor-configured URLs that are not visible in the three main source panes. Move them explicitly.
- Preprocessors — Translate Sass/Babel/etc. into project tooling or a suitable template.
- CodePen 2.0 files — Keep the actual file/folder structure when exporting multi-file Pens.
Last reviewed 2026-09-07.