All Tech Guides

Tech Guide

Install and Use SQLiteStudio

An introduction to SQLiteStudio, a free graphical tool for SQLite databases, how to install it on Windows, macOS, and Linux, and a beginner example creating tables, entering data, and running SQL.

Databases Beginner Updated October 2026

Disclaimer & Important Cautions

These Tech Guides and instructions are provided in good faith as a general educational guide. Technology changes over time, and settings, software versions, installation steps, and security practices may vary by system.

I cannot guarantee that these steps will work in every environment, and I am not responsible for data loss, configuration problems, system errors, security issues, downtime, or other problems that may result from following this guide.

  • Download SQLiteStudio only from its official website, sqlitestudio.pl.
  • Use administrator privileges carefully when installing software.
  • Back up database files before making large changes, since SQLite saves changes directly to the file.
  • Don't store passwords or sensitive personal data in practice databases.
  • When in doubt, consult official documentation or a qualified technician.

Overview

SQLiteStudio is a free, open-source desktop app for working with SQLite databases. Instead of typing every command, you can create tables with a form, see and edit data in a spreadsheet-like grid, and write SQL in an editor with syntax highlighting and auto-completion. It runs on Windows, macOS, and Linux and is maintained by Paweł Salawa.

SQLiteStudio includes SQLite itself, so you don't need to install anything else first. In this guide you will install SQLiteStudio, create a database, build a table with the designer, enter data, and run SQL queries.

Main idea: SQLiteStudio is a visual front end for SQLite database files. Add a database file to its list, then use the table designer, data grid, and SQL editor to work with it.

Requirements

  • A Windows, macOS, or Linux computer.
  • Internet access to download SQLiteStudio.
  • Optional: the library.db file from the SQLite guide, to open an existing database.

Important Notes

  • Changes in the table designer and data grid are not saved until you commit them (the green check mark button). Look for it whenever you edit.
  • SQLiteStudio is updated regularly. These steps were written for version 3.4; menus may differ slightly in other versions.

SQLiteStudio Installation Instructions

Choose the tab for your operating system:

Installing SQLiteStudio

Click the tab above for your operating system. All versions are free downloads from sqlitestudio.pl.

The guide covers these major tasks:

  1. Download SQLiteStudio.
  2. Install it (or extract the portable version).
  3. Open SQLiteStudio.
  4. Choose language and style on first launch.

First launch

The first time SQLiteStudio opens, it may ask you to choose a language and an interface style. Choose your preferences and click OK. The main window opens with the Databases list on the left.

Check yourself: SQLiteStudio opens and shows an empty Databases panel. Help → About shows the version.

Beginner Example: A Course Catalog Database

Step 1: Create a new database

  1. Choose Database → Add a database (or press Ctrl + O).
  2. Next to File, click the green plus (Create new database file) button. Choose a folder such as Documents, name the file courses.db, and click Save.
  3. Leave the Name as suggested and click OK.
  4. In the Databases panel, double-click courses to connect to it.

To open an existing file instead, such as library.db from the SQLite guide, click the folder icon next to File and browse to it.

Step 2: Create a table with the designer

  1. Select the courses database, then choose Structure → Create a table.
  2. Enter the Table name: course.
  3. Click the Add column button for each column below. In the column dialog, enter the name, choose the data type, and check any constraints:
    Column nameData typeConstraints
    course_idINTEGERPrimary Key
    codeTEXTNot NULL, Unique
    titleTEXTNot NULL
    creditsINTEGERDefault value: 3
  4. Click the green Commit structure changes check mark at the top of the designer. SQLiteStudio shows the CREATE TABLE SQL it will run; click OK.

Step 3: Enter data in the grid

  1. In the table window, click the Data tab.
  2. Click the Insert row button (green plus), then type values into the cells. Leave course_id blank; SQLite numbers it automatically.
  3. Add these rows:
    codetitlecredits
    IS 2010Business Information Systems3
    IS 4420Database Fundamentals3
    IS 4480Data Warehousing3
    IS 1000Computing Lab1
  4. Click the green Commit check mark on the Data tab's toolbar to save the rows.

Step 4: Run SQL in the SQL editor

  1. Choose Tools → Open SQL editor (or press Alt + E).
  2. Make sure courses is selected in the database drop-down at the top of the editor.
  3. Type the following query:
    SELECT code, title, credits
    FROM course
    WHERE credits = 3
    ORDER BY code;
  4. Click Execute query (the blue play button) or press F9. The three 3-credit courses appear in the results grid below.
  5. Try a summary query:
    SELECT COUNT(*) AS course_count, SUM(credits) AS total_credits
    FROM course;

    It returns 4 courses and 10 total credits.

Step 5: Export the results

Right-click the results grid (or choose Tools → Export) to export a table or query result to a format such as CSV, HTML, JSON, or SQL. Follow the export wizard and choose a file name.

Check yourself: Close and reopen SQLiteStudio. The courses database is still listed, and the course table's Data tab shows your four rows.

Common Problems

  • My changes disappeared: you closed the table without clicking the green Commit check mark.
  • UNIQUE constraint failed: two rows have the same code. Change one of them.
  • The query runs against the wrong database: check the database drop-down at the top of the SQL editor.

Next Steps

  • Add a second table, such as section, with a Foreign Key constraint linking it to course.
  • Learn the same tasks at the command line with the SQLite guide.
  • Read the SQLiteStudio user manual.
Final Notes:
  • SQLiteStudio is a free graphical tool for SQLite database files and includes SQLite itself.
  • Add a database (new or existing file), then connect to it in the Databases panel.
  • Click the green Commit check mark to save changes in the designer and data grid.
  • Use the SQL editor (Alt + E, run with F9) to practice writing SQL.
Explore more technology resources

Return to the complete collection of installation and configuration guides.

Browse All Tech Guides