See and edit the files of your app, search them, ask for an explanation, and copy or download all the code.
You never have to open the code. The Code tab is there for people who want to look under the hood, check what the builder wrote, make a small fix by hand or take a copy of the files.
Screen recording: The File Explorer and a file open in the editor.
1. Open the Code tab: In the tab bar.
2. Pick a file: The File Explorer on the side lists the folders. Use Search files... to find one by name.
3. Read or edit: The file opens in the editor. Changes save by themselves and show Saved.
4. Ask what it does: Explain with AI writes a plain explanation of the open file.
Edits by hand: A hand edit is a change like any other. If something breaks, restore the version from before it in Saved versions.
Closed code: Apps installed from a ready product keep their code closed and do not show this tab. You change them by asking in the chat.
Q: Can I take my code elsewhere?
A: You can download all the files as a ZIP. Exporting code and data is part of some plans; see Plans and billing.
Q: Will the builder overwrite my hand edits?
A: It works on the current files, including your edits. Tell it in the chat what you changed if it matters.
Q: Where is the data, not the code?
A: In Settings, under Database. See The database.
Related: A tour of the Studio, Saved versions and restore, The database: tables and records, Secrets: keys for outside services