Is it safe to delete .svelte-kit folder (SvelteKit)?
Files SvelteKit generates in a project while it develops and builds the app.
Safe
Its owner recreates it by itself when it needs it, and nothing you made is lost.
~/
- Only next to package.json
- Never inside ~/
Library
What it is
As you develop and build a SvelteKit app, SvelteKit writes generated code, types and build output to the .svelte-kit folder of the project. It creates the folder again the next time you start the development server or build the app. The folder stays behind in projects you no longer work on.
If it's removed
The next start of the development server and the next build are slower. Until the folder is generated again, your editor may be missing type information for the project.
How it's removed
Moved to the Trash, where you can restore it.
The free analyzer finds it and explains it. Removing it is Pro, after a review sheet that lists every move and command. It starts checked in the Cleanup checklist, except inside Documents or Desktop.
Sources
Last checked on 26 Sep 2026. Every entry is written and checked by hand; the app and the command-line tool use the same words.