User Guide
Complete guide to using DBTool for database management
1. Getting Started
Installation
- Install DBTool from the Chrome Web Store
- Click the DBTool icon in your browser toolbar
- The extension popup will open, ready to load a database
Loading Your First Database
There are three ways to load a database:
- Drag & Drop: Drag any database file onto the drop zone
- File Picker: Click the drop zone to browse and select a file
- Remote URL: Enter a direct URL to a database file hosted online
2. Supported Database Formats
Standard SQLite database files (.db, .sqlite, .sqlite3)
Comma-separated values (.csv) - imported as tables
JSON arrays (.json) - converted to relational tables
Excel spreadsheets (.xlsx, .xls) - sheets as tables
3. Interface Overview
Main Toolbar
- New Query: Opens a new SQL query tab
- Templates: Access pre-built query templates
- Export: Export entire database or selected tables
- Info: View database metadata and statistics
Left Sidebar
Navigate your database structure:
- Click any table to view its contents
- Expand tables to see columns and indexes
- Right-click for context menu options
- Search bar to filter tables by name
Query Editor
- Syntax highlighting for SQL
- Auto-completion for table and column names
- Press
Ctrl+Enter(Windows/Linux) orCmd+Enter(Mac) to run query - Multiple tabs for different queries
4. Writing SQL Queries
Basic SELECT Query
SELECT * FROM users LIMIT 10; Retrieves first 10 rows from the users table
Filtering Data
SELECT name, email FROM users
WHERE created_at > '2024-01-01'
ORDER BY name ASC; Filter users created after a specific date and sort by name
Joining Tables
SELECT users.name, orders.total
FROM users
JOIN orders ON users.id = orders.user_id
WHERE orders.status = 'completed'; Combine data from multiple tables using JOIN
Aggregations
SELECT category, COUNT(*) as count, AVG(price) as avg_price
FROM products
GROUP BY category
HAVING count > 5; Calculate statistics using aggregate functions
5. Visual Query Builder
Build queries without writing SQL:
- Click "Visual Builder" in the toolbar
- Select a table from the dropdown
- Choose columns to display
- Add filter conditions using the form
- Set sorting and limit options
- Click "Generate Query" to see the SQL or "Run" to execute immediately
6. Data Analysis Features
Column Statistics
Right-click any column header to view:
- Unique value count
- Null/empty value percentage
- Min/max values for numeric columns
- Average, median, standard deviation
- Most common values
Data Visualization
After running a query, click "Visualize" to create:
- Bar charts for categorical data
- Line charts for time series
- Pie charts for proportions
- Scatter plots for correlations
Search & Filter
Use the search box above results to:
- Filter rows by text match
- Use wildcards:
%search% - Click column headers to sort
- Multi-column sorting with Shift+Click
7. Editing Data
Important: Local Changes Only
All edits are made to your local copy. Changes are NOT saved to the original file unless you export.
How to Edit
- Double-click any cell to edit its value
- Press
Enterto save orEscto cancel - Right-click a row to delete it
- Click "Add Row" to insert new records
- Export the database to save changes permanently
Undo/Redo
Use keyboard shortcuts to undo changes:
Ctrl+Z(Windows/Linux) orCmd+Z(Mac): UndoCtrl+Y(Windows/Linux) orCmd+Shift+Z(Mac): Redo
8. Exporting Data
Export Options
Click the "Export" button in the toolbar:
- SQLite (.db): Export as SQLite database file
- CSV: Export current table or query results
- JSON: Export as JSON array
- SQL Script: Export as SQL CREATE and INSERT statements
- Excel (.xlsx): Export to Excel spreadsheet
Selective Export
Export only what you need:
- Select specific tables to export
- Export query results directly
- Choose to include or exclude schema
9. Using Query Templates
DBTool includes pre-built templates for common tasks:
Identify duplicate rows based on specific columns
Get row counts and size information for all tables
Find NULL or empty values across all columns
Analyze records within specific time periods
10. Keyboard Shortcuts
Query Editor
Ctrl+Enter Ctrl+T Ctrl+W Ctrl+S Navigation
Ctrl+F Ctrl+B Ctrl+Tab Ctrl+Shift+Tab Editing
Ctrl+Z Ctrl+Y Ctrl+C Ctrl+V Results
Ctrl+E Ctrl+Shift+C F5 Ctrl+L
Note: On Mac, use Cmd instead of Ctrl
11. Privacy & Security
100% Client-Side Processing
- All database operations happen in your browser using WebAssembly
- No data is ever uploaded to any server
- Your database files never leave your computer
- Works completely offline after initial load
- No tracking, no analytics, no data collection
12. Troubleshooting
Database Won't Load
- Ensure the file is a valid database format (SQLite, CSV, JSON, Excel)
- Check that the file isn't corrupted or empty
- For remote URLs, verify the file is publicly accessible and uses HTTPS
- Try reloading the extension
Query Errors
- Check SQL syntax - error messages will indicate the issue
- Verify table and column names are correct
- Use the Visual Query Builder if you're unsure about SQL syntax
- Try the query templates for common operations
Performance Issues
- Large databases (>100MB) may take time to load
- Use LIMIT clauses to reduce result set size
- Create indexes for frequently queried columns
- Close unused query tabs to free up memory
13. Getting Help
Need additional assistance?
- Check the FAQ section for common questions
- Review the features page for detailed capabilities
- Contact us at marc@cavess.de