DB Browser for SQLite

The Official home of the DB Browser for SQLite

View project onGitHub

News

2014-09-23 - Project renamed to "DB Browser for SQLite". Hopefully the final rename. :)
2014-09-15 - Nightly builds for OSX now available here.
2014-09-02 - Released new v3.3.1 .dmg for OSX. The previous one had an old SQLite version in it.
2014-08-31 - Version 3.3.1 released, using the new name. No functional changes from 3.3.0.
2014-08-28 - Project renamed to "Database Browser for SQLite", at Richard Hipp's request. :)

Screenshot

DB Browser for SQLite Screenshot

What it is

DB Browser for SQLite is a high quality, visual, open source tool to create, design, and edit database files compatible with SQLite.

It is for users and developers wanting to create databases, search, and edit data. It uses a familiar spreadsheet-like interface, and you don't need to learn complicated SQL commands.

Controls and wizards are available for users to:

  • Create and compact database files
  • Create, define, modify and delete tables
  • Create, define and delete indexes
  • Browse, edit, add and delete records
  • Search records
  • Import and export records as text
  • Import and export tables from/to CSV files
  • Import and export databases from/to SQL dump files
  • Issue SQL queries and inspect the results
  • Examine a log of all SQL commands issued by the application

What it is not

This program is not a visual shell for the sqlite command line tool. It does not require familiarity with SQL commands. It is a tool to be used both by developers and by end users, and it must remain as simple to use as possible in order to achieve its goals.

What's been done since the SourceForge project

  • Qt3Support was removed
  • Recent files menu added
  • Improved UI, making it more modern, replacing some dialogs etc.
  • Syntax highlighting for SQL code
  • Cleaned up the code, reducing the SLOC quite a bit
  • Added basic support for triggers and views
  • Added pragma editing
  • Added BLOB support
  • Added a new filter row for searching
  • Improved performance when opening large tables
  • Extended the SQL tab
  • Added SQLite extension support
  • Fixed a ton of bugs
  • Probably more

All in all a fair amount of the code has been rewritten in order to regain maintainability. Based on this quite a few bugs can be fixed and new features added.

What's still to do

Windows binaries

Windows binaries can be downloaded from here:

Nightly builds are also available at:

MacOS X

DB Browser for SQLite works well on MacOS X.

  • OSX 10.6 (Snow Leopard) - 10.9 (Mavericks) are tested and known to work

MacOS X binaries

OSX binaries can be downloaded from here:

Nightly builds are also available at:

Compiling on MacOS X

The application can be compiled to a single executable binary file, similar to other command line utilities. Or it can either be compiled to a .app bundle, suitable for placing in /Applications.

Compiling to a single executable binary

This is incredibly easy using Homebrew. Just run this command:

$ brew install sqlitebrowser

And you're done. A "sqlitebrowser" command should now available in your PATH, and can also be launched through Spotlight.

Compiling to a .app bundle

Building the .app bundle version takes a bit more effort, but isn't too hard. It requires SQLite and Qt 4.8.x to be installed first. These are the Homebrew steps, though other package managers should work:

$ brew install sqlite --with-functions --without-readline
$ brew install qt
$ brew link sqlite3 --force

Then it's just a matter of getting the source:

$ git clone https://github.com/sqlitebrowser/sqlitebrowser.git

Note - Don't clone the repo to a directory with a quote character (') in it's name (eg ~/tmp/foo'), as compiling will error out.

And compiling it:

$ cd sqlitebrowser
$ qmake
$ make
$ brew unlink sqlite3
$ mv src/sqlitebrowser.app /Applications/

An icon for "sqlitebrowser" should now be in your main OSX Applications list, ready to launch.

Twitter

Follow us on Twitter: https://twitter.com/sqlitebrowser

Website

Old project pages

Releases

History

This program was developed originally by Mauricio Piacentini (@piacentini) from Tabuleiro Producoes, as the Arca Database Browser. The original version was used as a free companion tool to the Arca Database Xtra, a commercial product that embeds SQLite databases with some additional extensions to handle compressed and binary data.

The original code was trimmed and adjusted to be compatible with standard SQLite 2.x databases. The resulting program was renamed SQLite Database Browser, and released into the Public Domain by Mauricio. Icons were contributed by Raquel Ravanini, also from Tabuleiro. Jens Miltner (@jmiltner) contributed the code to support SQLite 3.x databases for the 1.2 release.

Pete Morgan (@daffodil) created an initial project on GitHub with the code in 2012, where several contributors fixed and improved pieces over the years. René Peinthor (@rp-) and Martin Kleusberg (@MKleusberg) then became involved, and have been the main driving force from that point. Justin Clift (@justinclift) helps out with testing on OSX, and started the new github.com/sqlitebrowser organisation on GitHub.

John T. Haller, of PortableApps.com fame, created the new logo. He based it on the Tango icon set (public domain).

In August 2014, the project was renamed to "Database Browser for SQLite" at the request of Richard Hipp (creator of SQLite), as the previous name was creating unintended support issues.

In September 2014, the project was renamed to "DB Browser for SQLite", to avoid confusion with an existing application called "Database Browser".

License

DB Browser for SQLite is bi-licensed under the Mozilla Public License Version 2, as well as the GNU General Public License Version 3 or later.

You can modify or redistribute it under the conditions of these licenses.