How to edit a SQLite database
Change records and save edits in DB Browser for SQLite.
Step-by-step instructions
- Back up your database before editing.
- Open the copy and select Browse Data. Choose the relevant table.
- Edit the target cell or insert a record. Check primary keys, required fields and relationships.
- Use Write Changes to commit edits, or Revert Changes to discard pending edits. Verify the result before replacing any production file.
SQL example
Adapt example table names to your database.
SELECT * FROM customers LIMIT 20;