MDataKit

SQLite Query RunnerSQLite 在线查询

Load a .sqlite database and run SQL queries against it entirely in your browser with a WASM SQLite engine.

载入 .sqlite 数据库,用 WASM 版 SQLite 引擎在浏览器里执行 SQL 查询,结果可导出 CSV。

What is SQLite Query Runner?SQLite 在线查询 是什么?

A SQL workbench that runs a real SQLite engine in the browser, compiled to WebAssembly. Load a .sqlite or .db file, type any SELECT, and the result comes back as a table you can export to CSV. The engine is the genuine SQLite library, so the SQL dialect, functions and type affinity are exactly what you get on the command line — which makes it the fastest way to answer a question about a database you only have as a file.

一个把真正的 SQLite 引擎编译成 WebAssembly 跑在浏览器里的 SQL 工作台。载入 .sqlite 或 .db 文件,输入任意 SELECT,结果以表格返回并可导出 CSV。引擎就是官方 SQLite 库,SQL 方言、内置函数与类型亲和性都和命令行一致——当手里只有一个数据库文件时,这是最快得到答案的方式。

How to use sqlite query runner如何使用 SQLite 在线查询

  1. Drop the .sqlite / .db file onto the upload area.
  2. Edit the query, or press List tables to see the schema.
  3. Press Run query and read the result table.
  4. Export the result to CSV if you need it elsewhere.
  1. 把 .sqlite / .db 文件拖到上传区。
  2. 编辑查询,或点"列出表"查看结构。
  3. 点"执行",查看结果表。
  4. 需要时把结果导出为 CSV。

Common uses常见用途

FAQ常见问题

Is this real SQLite?这是真的 SQLite 吗?

Yes — the official SQLite C library compiled to WebAssembly. SQL syntax, functions, type affinity and NULL handling behave the same as the sqlite3 command line.

是——官方 SQLite C 库编译到 WebAssembly。SQL 语法、函数、类型亲和性与 NULL 处理都与 sqlite3 命令行一致。

Can it run INSERT or UPDATE?可以执行 INSERT 或 UPDATE 吗?

Yes, the engine is a full database, but the tool is read-oriented: changes live in browser memory and are discarded when the page closes, so nothing is written back to your file.

引擎是完整数据库,可以执行。但工具以只读为主:改动只存在于浏览器内存中,页面关闭即丢弃,不会写回你的文件。

How large a database can it open?能开多大的数据库?

As much as your device memory allows, since the file is read locally rather than streamed from a server. Very large files will be slow in a browser tab.

取决于设备内存,因为文件是本地读取而非从服务器流式传输。超大文件在浏览器标签页里会偏慢。

Is my database uploaded?数据库会上传吗?

No. The file is read with FileReader and handed straight to the WASM engine in your browser.

不会。文件经 FileReader 读取后直接交给浏览器内的 WASM 引擎。

Other tools其他工具

📊

Excel ⇄ JSON / CSVExcel ⇄ JSON / CSV

Open an .xlsx or .csv file, preview the sheet, then export it as…

打开 .xlsx 或 .csv 文件预览表格内容,再导出为 JSON、CSV 或…

🧾

CSV Profiler & CleanerCSV 统计与清洗

Profile every column of a CSV — type, empty rate, unique count, …

逐列统计 CSV 的数据类型、空值率、去重数量与最值,并一键去重、排序、导出干净…

🔎

JSONata Query & TransformJSON 查询与转换

Query and reshape JSON with JSONata expressions, list every path…

用 JSONata 表达式查询与重塑 JSON 数据,列出全部数据路径,或把嵌套…

Sister sites友情链接 MonkeyDev dev tools hub工具总站 FreePDFKit PDF toolsPDF 工具集 ImageToolKit image tools图片工具集 AI 咒语库 AI prompt libraryAI 提示词库 DevTools developer toolkit开发工具箱 CalcKit finance calculators财务计算器 OfficeKit office utilities办公工具箱 AIkit AI & machine learningAI 与机器学习 ChartKit diagrams & charts图表与可视化 DocKit markdown & document toolsMarkdown 与文档工具