{"id":837,"date":"2025-06-07T04:59:39","date_gmt":"2025-06-07T04:59:39","guid":{"rendered":"http:\/\/www.withdata.com\/ad\/?p=837"},"modified":"2026-07-03T06:55:43","modified_gmt":"2026-07-03T06:55:43","slug":"excel-to-mysql","status":"publish","type":"post","link":"https:\/\/www.withdata.com\/blog\/xlstomy\/excel-to-mysql.html","title":{"rendered":"Import Excel to MySQL"},"content":{"rendered":"<p>Want to import data from Excel file to  <a href=\"https:\/\/www.mysql.com\/\">MySQL<\/a> ?<\/p>\n<p>Try Withdata <a href=\"https:\/\/www.withdata.com\/file-to-db\/\">FileToDB<\/a>, a desktop Excel to MySQL converter for Windows, MacOS, and Linux, Convert Excel to MySQL, Easy and Fast.<\/p>\n<ul>\n<li>Can run in <span id=\"gui\">GUI<\/span> mode, <a href=\"#convert\">Step by Step<\/a>, just a few mouse clicks.<\/li>\n<li>Can run in <a href=\"\/tools\/file-to-db\/excel-to-mysql-cmd\" target=\"_blank\">Command line<\/a>, for <a href=\"\/tools\/file-to-db\/excel-to-mysql-task\" target=\"_blank\">Scheduled Tasks<\/a> and Streams.<\/li>\n<li>Import Excel to MySQL locally and <b>privately<\/b>, avoid uploading Excel file(s) to online services.<\/li>\n<li>Support <a href=\"\/tools\/file-to-db\/excel-to-mysql-windows\" target=\"_blank\">Windows<\/a>, <a href=\"\/tools\/file-to-db\/excel-to-mysql-linux\" target=\"_blank\">Linux<\/a>, and <a href=\"\/tools\/file-to-db\/excel-to-mysql-macos\" target=\"_blank\">macOS<\/a>.<\/li>\n<\/ul>\n<p><a href=\"#download-top\" onclick=\"dtv.style.display = 'block';\">Download Withdata FileToDB<\/a>  <a href=\"#download-top\" onclick=\"dtv.style.display = 'block';\"><img decoding=\"async\" src=\"https:\/\/www.withdata.com\/images\/download_3.jpg\" alt=\"Download FileToDB\" width=\"80\" height=\"22\" style=\"max-width:100%;height:auto;\" \/><\/a> <span id=\"dtv\" style=\"display: none;\"><br \/>\n<a href=\"\/download.php?app=FileToDB&#038;ver=win64\">Windows 64 bit<\/a><br \/>\n<a href=\"\/download.php?app=FileToDB&#038;ver=win32\">Windows 32 bit<\/a><br \/>\n<a href=\"\/download.php?app=FileToDB&#038;ver=deb\">Linux .deb (For Debian, Ubuntu) 64 bit<\/a><br \/>\n<a href=\"\/download.php?app=FileToDB&#038;ver=rpm\">Linux .rpm (For Red Hat, Fedora, SUSE) 64 bit<\/a><br \/>\n<a href=\"\/download.php?app=FileToDB&#038;ver=pkg\">MacOS 64 bit<\/a><br \/>\n<\/span><\/p>\n<h2 id=\"import\">Import data from Excel file to MySQL<\/h2>\n<p><a href=\"#login\">Login to MySQL<\/a> -> <a href=\"#source\">Choose Excel file<\/a> -> <a href=\"#table\">Set MySQL table<\/a> -> <a href=\"#do\">Import Excel to MySQL<\/a><\/p>\n<p id=\"login\"> Choose MySQL and logon.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.withdata.com\/images\/logon\/choose_mysql_logon.png\" alt=\"load Excel data to MySQL table - Choose MySQL and logon\" width=\"430\" height=\"442\" style=\"max-width:100%;height:auto;display:block;\" \/><\/p>\n<p> Click &#8220;Wizard &#8211; 1 File To 1 Table&#8221; for &#8220;Excel to MySQL&#8221;.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.withdata.com\/images\/file-to-db\/task-window.png\" alt=\"import Excel data to MySQL table - task window\" width=\"722\" height=\"399\" style=\"max-width:100%;height:auto;display:block;\" loading=\"lazy\" decoding=\"async\" \/><\/p>\n<p> Select the &#8220;Excel&#8221; file type.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.withdata.com\/images\/file-to-db\/select-file-type-excel.png\" ALT=\"Import EXCEL file data to MySQL table - select file type\" width=\"547\" height=\"236\" style=\"max-width:100%;height:auto;display:block;\" loading=\"lazy\" decoding=\"async\"><\/p>\n<p>then show the wizard.<\/p>\n<h3 id=\"source\">1. Open an Excel file.<\/h3>\n<p><img decoding=\"async\" src=\"https:\/\/www.withdata.com\/images\/file-to-db\/wizard-import-file-source-file-excel.png\" ALT=\"Import Data From Excel File To MySQL - open Excel file\" width=\"724\" height=\"573\" style=\"max-width:100%;height:auto;display:block;\" loading=\"lazy\" decoding=\"async\"><\/p>\n<p>Here is the file&#8217;s content.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.withdata.com\/images\/datafileconverter\/view-source-excel.png\" alt=\"Import Data From Excel File To MySQL - source Excel file\" width=\"772\" height=\"560\" style=\"max-width:100%;height:auto;display:block;\" loading=\"lazy\" decoding=\"async\" \/><\/p>\n<h3 id=\"table\">2. Select a MySQL table and config fields.<\/h3>\n<p><img decoding=\"async\" src=\"https:\/\/www.withdata.com\/images\/file-to-db\/wizard-import-dest-table-no-schema.png\" ALT=\"Load Data From Excel File To MySQL - select table\" width=\"724\" height=\"573\" style=\"max-width:100%;height:auto;display:block;\" loading=\"lazy\" decoding=\"async\"><\/p>\n<h3>3. Preview data will be in MySQL table.<\/h3>\n<p><img decoding=\"async\" src=\"https:\/\/www.withdata.com\/images\/file-to-db\/wizard-import-preview-excel.png\" ALT=\"Transfer Data From Excel File To MySQL - preview\" width=\"724\" height=\"573\" style=\"max-width:100%;height:auto;display:block;\" loading=\"lazy\" decoding=\"async\"><\/p>\n<h3 id=\"do\">4. Import Excel data to MySQL.<\/h3>\n<p><img decoding=\"async\" src=\"https:\/\/www.withdata.com\/images\/file-to-db\/wizard-import-convert-excel.png\" ALT=\"Import Data From Excel File To MySQL - import data\" width=\"724\" height=\"573\" style=\"max-width:100%;height:auto;display:block;\" loading=\"lazy\" decoding=\"async\"><\/p>\n<p>View imported data in MySQL table<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.withdata.com\/images\/file-to-db\/wizard-import-view.png\" ALT=\"Convert Excel to MySQL - view data\" width=\"629\" height=\"480\" style=\"max-width:100%;height:auto;display:block;\" loading=\"lazy\" decoding=\"async\"><\/p>\n<hr style=\"clear: both;\" \/>\n<p>More about <a href=\"\/tools\/file-to-db\/excel-to-mysql\">Excel to MySQL converter<\/a><\/p>\n<div id=\"download-bottom\" style=\"clear: both;\">\n<p>Download Withdata FileToDB<a href=\"#download-bottom\" onclick=\"dbv.style.display = 'block';\"><img decoding=\"async\" src=\"https:\/\/www.withdata.com\/images\/btn_download_green.png\" alt=\"Download FileToDB\" width=\"165\" height=\"50\" style=\"max-width:100%;height:auto;\" loading=\"lazy\" decoding=\"async\" \/><\/a> <span id=\"dbv\" style=\"display: none;\"><br \/>\n<a href=\"\/download.php?app=FileToDB&#038;ver=win64\">Windows 64 bit<\/a><br \/>\n<a href=\"\/download.php?app=FileToDB&#038;ver=win32\">Windows 32 bit<\/a><br \/>\n<a href=\"\/download.php?app=FileToDB&#038;ver=deb\">Linux .deb (For Debian, Ubuntu) 64 bit<\/a><br \/>\n<a href=\"\/download.php?app=FileToDB&#038;ver=rpm\">Linux .rpm (For Red Hat, Fedora, SUSE) 64 bit<\/a><br \/>\n<a href=\"\/download.php?app=FileToDB&#038;ver=pkg\">MacOS 64 bit<\/a><br \/>\n<\/span><\/p>\n<\/div>\n<p>See also: <\/p>\n<ul>\n<li><a href=\"https:\/\/www.withdata.com\/blog\/xlstomy\/import-multiple-excel-files-to-single-mysql-table.html\">Import multiple Excel files to a single MySQL table<\/a><\/li>\n<li><a href=\"https:\/\/www.withdata.com\/blog\/xlstomy\/bulk-import-excel-files-to-mysql-tables.html\">Batch import Excel files to MySQL tables<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Want to import data from Excel file to MySQL ? Try Withdata FileToDB, a desktop Excel to MySQL converter for Windows, MacOS, and Linux, Convert Excel to MySQL, Easy and Fast. Can run in GUI mode, Step by Step, just a few mouse clicks. Can run in Command line, for Scheduled Tasks and Streams. Import [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[88],"tags":[15,6,1323],"class_list":["post-837","post","type-post","status-publish","format-standard","hentry","category-xlstomy","tag-excel","tag-import","tag-mysql"],"_links":{"self":[{"href":"https:\/\/www.withdata.com\/blog\/wp-json\/wp\/v2\/posts\/837","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.withdata.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.withdata.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.withdata.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.withdata.com\/blog\/wp-json\/wp\/v2\/comments?post=837"}],"version-history":[{"count":36,"href":"https:\/\/www.withdata.com\/blog\/wp-json\/wp\/v2\/posts\/837\/revisions"}],"predecessor-version":[{"id":41467,"href":"https:\/\/www.withdata.com\/blog\/wp-json\/wp\/v2\/posts\/837\/revisions\/41467"}],"wp:attachment":[{"href":"https:\/\/www.withdata.com\/blog\/wp-json\/wp\/v2\/media?parent=837"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.withdata.com\/blog\/wp-json\/wp\/v2\/categories?post=837"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.withdata.com\/blog\/wp-json\/wp\/v2\/tags?post=837"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}