SQL Converter

เครื่องมือแปลง SQL ออนไลน์

วางคำสั่ง CREATE TABLE + INSERT แก้ไขข้อมูลได้เลย แล้วดาวน์โหลดไฟล์.xlsx ที่เปิดได้ทันที ทุกอย่างทำงานในเบราว์เซอร์ — SQL ของคุณไม่ออกจากอุปกรณ์

CREATE TABLE / INSERT ของ MySQL, PostgreSQL และ SQLite แยกวิเคราะห์ได้ทั้งหมด ตัวระบุใช้ backtick (``) เครื่องหมายคำพูดคู่ ("") หรือวงเล็บเหลี่ยม ([]) ได้ รองรับ INSERT หลายแถว (VALUES (...), (...), (...))

ไม่ การแยกวิเคราะห์และสร้าง.xlsx ทำในเบราว์เซอร์ด้วย JavaScript ทั้งหมด ไฟล์ผลลัพธ์บันทึกลงอุปกรณ์ของคุณโดยตรง

รอ SQL

ทำไมต้อง SQL Converter?

เร็ว ปลอดภัย ไม่ต้องติดตั้ง — แปลง SQL dump เป็น Excel workbook ที่เปิดได้ทันที

รองรับหลายตาราง

แต่ละ CREATE TABLE / INSERT จะสร้างชีตแยกอัตโนมัติ ชื่อคอลัมน์มาจาก CREATE TABLE หรือสรุปจากรายการคอลัมน์ใน INSERT

ฟอร์แมต Excel จริง

สร้างไฟล์ Office Open XML.xlsx ของจริง เปิดได้ใน Excel, Numbers, LibreOffice และ Google Sheets

ออกแบบเพื่อความเป็นส่วนตัว

การแยกวิเคราะห์และสร้าง workbook ทั้งหมดทำในเบราว์เซอร์ SQL ของคุณไม่ถูกอัปโหลดไปเซิร์ฟเวอร์เลย

รักษาชนิดข้อมูลอย่างเคร่งครัด

ตัวเลขยังเป็นตัวเลข (ชิดขวา) บูลีนยังเป็นบูลีน NULL ยังเป็นค่าว่าง สตริงยังเป็นข้อความ ไม่แปลงเป็นวันที่โดยอัตโนมัติ

รองรับหลายภาษา SQL

เข้าใจ MySQL, PostgreSQL และ SQLite: backtick, double-quoted identifier, escaped string, INSERT หลายแถว

แก้ไขในหน้าเว็บ

คลิกเซลล์ไหนก็ได้เพื่อแก้ไขก่อนดาวน์โหลด เพิ่มหรือลบแถวและคอลัมน์ เปลี่ยนชื่อหัวตาราง ลบแถวว่าง — ทุกอย่างในเบราว์เซอร์

How SQL → Excel conversion works

Parse INSERT statements client-side, build a real.xlsx file in your browser.

  1. 1

    Paste a SQL dump

    Paste any combination of CREATE TABLE and INSERT INTO statements from MySQL, PostgreSQL, or SQLite dumps. Our parser handles multi-row inserts, escaped quotes, NULL values, dates, numerics, and binary BLOBs (rendered as Base64 strings).

  2. 2

    Inline editing

    Once parsed, the data appears in a spreadsheet-style grid. Edit any cell, add or delete rows, rename columns. Changes are kept in browser memory — no server round-trip per edit, no "saving..." delay.

  3. 3

    Build the.xlsx file

    When you click download, we use SheetJS (xlsx.js) to construct an Office Open XML .xlsx file directly in JavaScript. Each table becomes a separate worksheet. The file is bit-identical to one Excel itself would produce.

  4. 4

    Download to your machine

    The Blob is saved via a virtual <a download> click. Open it in Excel, Google Sheets, Numbers — anything that reads.xlsx. The data path was: SQL paste → JS memory →.xlsx Blob → download. No server, no log, no upload.

Common SQL → Excel needs

When you need data in a spreadsheet, fast.

Customer-facing exports

A non-technical colleague needs the latest customer list as an Excel file. Run your SQL query, paste the results, get an.xlsx. No need to build an export feature, no compliance review for sending the data through a third-party tool.

Local backup inspection

Open a mysqldump file from a backup, find the relevant tables, see their content as readable rows. Often easier than spinning up a sandbox database.

Data migrations

Move a small table from one system to another by routing through.xlsx. Edit the data on the way (rename columns, add fields, fix typos) before re-importing.

Investigating production issues

Engineer pastes a customer's row from the database into the tool to debug a reported issue, with the data never leaving their laptop. The customer's row was sensitive — making sure it stays sensitive matters.

Why SQL data demands privacy

Database dumps usually contain real customer information — names, emails, addresses, sometimes hashed passwords or financial data. Most online SQL converters ask you to upload the file, which is exactly the wrong thing to do with PII. iKit parses everything in your browser, so the data never leaves your machine.

  • Parses MySQL, PostgreSQL, and SQLite dumps in pure JavaScript.
  • Generates the.xlsx file client-side via SheetJS.
  • Suitable for production data and PII — nothing is uploaded.

คู่มือที่เกี่ยวข้อง

บทความเชิงลึกและการเปรียบเทียบเครื่องมือจากบล็อก iKit

คำถามที่พบบ่อย

รองรับ SQL ภาษาไหนบ้าง?

CREATE TABLE / INSERT ของ MySQL, PostgreSQL และ SQLite แยกวิเคราะห์ได้ทั้งหมด ตัวระบุใช้ backtick (``) เครื่องหมายคำพูดคู่ ("") หรือวงเล็บเหลี่ยม ([]) ได้ รองรับ INSERT หลายแถว (VALUES (...), (...), (...))

SQL ของฉันถูกอัปโหลดไหม?

ไม่ การแยกวิเคราะห์และสร้าง.xlsx ทำในเบราว์เซอร์ด้วย JavaScript ทั้งหมด ไฟล์ผลลัพธ์บันทึกลงอุปกรณ์ของคุณโดยตรง

มีจำกัดขนาดไหม?

ไม่มีข้อจำกัดฝั่งเซิร์ฟเวอร์ เบราว์เซอร์สมัยใหม่จัดการข้อมูลหลายหมื่นแถวได้สบาย สำหรับ dump ขนาดใหญ่ เครื่องมือ CLI มักเร็วกว่า

ใส่แค่ CREATE TABLE หรือแค่ INSERT ได้ไหม?

ได้ ถ้ามี CREATE TABLE จะใช้ชื่อคอลัมน์จากนั้น ถ้ามีแค่ INSERT INTO... (col1, col2) VALUES... จะใช้ชื่อคอลัมน์จาก INSERT ถ้า INSERT ไม่มีรายชื่อคอลัมน์ จะใช้ col1, col2 … แทน

วันที่และ timestamp จะกลายเป็นเซลล์วันที่ใน Excel ไหม?

ไม่ Timestamp เช่น '2024-01-05 10:12:33' จะส่งออกเป็นข้อความธรรมดาเพื่อหลีกเลี่ยงการแปลงอัตโนมัติของ Excel ถ้าต้องการ ให้เลือกคอลัมน์แล้วใช้จัดรูปแบบเซลล์ → วันที่