Skip to content
| Marketplace
Sign in
Visual Studio Code>Data Science>SQLite ToolNew to Visual Studio Code? Get it now.
SQLite Tool

SQLite Tool

myway

|
4 installs
| (0) | Free
A powerful SQLite database viewer and editor with SQL execution support for VSCode
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

SQLite Tool

A powerful SQLite database viewer and editor with SQL execution support for Visual Studio Code.

VSCode Version Version License

Features

Database Browsing

  • Auto Detection - Automatically recognizes .db, .sqlite, .sqlite3, .db3 files
  • Database Overview - View database information, file size, table statistics
  • Table Navigation - Quick browse through all tables with type and row count

Data Viewing & Editing

  • Table Data Viewer - Display data in tabular format with pagination (10/20/50/100 rows)
  • Schema Inspector - View field definitions, data types, primary keys, constraints, defaults
  • Index Information - Show table index details
  • CREATE Statements - View complete CREATE SQL statements for tables

SQL Execution

  • SQL Editor - Integrated Monaco Editor with syntax highlighting
  • Execution Control - Execute all SQL or selected portions
  • Results Display - Console output for query results
  • Formatting - SQL statement formatting support

User Interface

  • Native VSCode Integration - Seamlessly blends with VSCode themes
  • Responsive Design - Adapts to different window sizes
  • Efficient Layout - High-density content display
  • Convenient Operations - Refresh button, quick navigation, fixed pagination

Installation

From VSCode Marketplace

  1. Open VSCode
  2. Press Ctrl+Shift+X to open Extensions panel
  3. Search for SQLite Tool
  4. Click Install

Manual Installation

  1. Download the .vsix file
  2. Press Ctrl+Shift+P in VSCode
  3. Type Extensions: Install from VSIX
  4. Select the downloaded file

Usage

Basic Usage

  1. Open a project containing SQLite database files in VSCode
  2. Click on any SQLite database file (.db, .sqlite, .sqlite3, .db3)
  3. The extension will automatically open the database viewer

Viewing Data

  • Left Panel - Shows database table list
  • Right Content Area - Use tabs to switch between "Table Content" and "Table Structure"
  • Pagination - Use bottom paginator to browse large tables

Executing SQL

  1. Expand the SQL execution area
  2. Type SQL queries in the editor
  3. Execute all SQL or selected portions
  4. View results in the bottom console

Supported File Formats

  • .db
  • .sqlite
  • .sqlite3
  • .db3

Version History

Requirements

  • VSCode >= 1.106.1
  • Node.js >= 14.x (for development)

Development

Setup

# Clone the repository
git clone https://github.com/yourusername/sqlite-tool.git
cd sqlite-tool

# Install dependencies
pnpm install

Development Mode

# Start watch mode (recommended)
pnpm run watch

# Start debugging
# 1. Press F5 to launch Extension Development Host
# 2. Test features in the new window

Build

# Production build
pnpm run package

FAQ

Q: Code not updated after F5 debugging? A: Ensure pnpm run watch is running, then press Ctrl+R in the debug window to reload

Q: No results from SQL execution? A: Check SQL syntax and view console output at the bottom

Q: Slow loading for large databases? A: The extension loads data in batches, use pagination for large tables

License

MIT License

Contributing

Issues and Pull Requests are welcome!

  1. Fork the project
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

Acknowledgments

  • sql.js - SQLite to JavaScript compiler
  • Monaco Editor - The code editor that powers VS Code
  • VSCode Extension API

P If this extension helps you, please give it a star!


-��c | -� README

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft