{"id":3179,"date":"2025-10-21T08:11:56","date_gmt":"2025-10-21T08:11:56","guid":{"rendered":"http:\/\/www.withdata.com\/blog\/?p=3179"},"modified":"2025-10-21T09:11:57","modified_gmt":"2025-10-21T09:11:57","slug":"how-to-batch-export-postgresql-query-results-bytea-blob-data-to-files","status":"publish","type":"post","link":"https:\/\/www.withdata.com\/blog\/pglobeditor\/how-to-batch-export-postgresql-query-results-bytea-blob-data-to-files.html","title":{"rendered":"Batch export PostgreSQL query results BYTEA data to files"},"content":{"rendered":"<p>Want to batch export  <a href=\"https:\/\/www.postgresql.org\/\">PostgreSQL<\/a>  query results BYTEA (BLOB) to files ?<\/p>\n<p>Try Withdata <a href=\"https:\/\/www.withdata.com\/dbblobeditor\/\">DBBlobEditor<\/a>, a <a href=\"https:\/\/www.withdata.com\/blog\/blob\/postgresql-bytea.html\">PostgreSQL BYTEA (BLOB)<\/a> editor, Bulk export PostgreSQL query results BYTEA (BLOB) to files, East and Fast.<\/p>\n<ul>\n<li>Can run in <a href=\"\/tools\/blob-to-file\/export-postgres-blob-to-file-gui\">GUI<\/a> mode, just a few mouse clicks.<\/li>\n<li>Can run in <a href=\"\/tools\/blob-to-file\/export-postgres-blob-to-file-cmd\" target=\"_blank\">Command line<\/a>, for <a href=\"\/tools\/blob-to-file\/export-postgres-blob-to-file-task\" target=\"_blank\">Scheduled Tasks<\/a> and Streams.<\/li>\n<li>Support <a href=\"\/tools\/blob-to-file\/export-postgres-blob-to-file-windows\" target=\"_blank\">Windows<\/a>, <a href=\"\/tools\/blob-to-file\/export-postgres-blob-to-file-linux\" target=\"_blank\">Linux<\/a>, and <a href=\"\/tools\/blob-to-file\/export-postgres-blob-to-file-macos\" target=\"_blank\">macOS<\/a>.<\/li>\n<\/ul>\n<p><a href=\"#download-top\" onclick=\"dtv.style.display = 'block';\">Download Withdata DBBlobEditor<\/a>  <a href=\"#download-top\" onclick=\"dtv.style.display = 'block';\"><img decoding=\"async\" src=\"https:\/\/www.withdata.com\/images\/download_3.jpg\" alt=\"Download DBBlobEditor\" width=\"80\" height=\"22\" style=\"max-width:100%;height:auto;\" \/><\/a> <span id=\"dtv\" style=\"display: none;\"><br \/>\n<a href=\"\/download.php?app=DBBlobEditor&#038;ver=win64\">Windows 64 bit<\/a><br \/>\n<a href=\"\/download.php?app=DBBlobEditor&#038;ver=win32\">Windows 32 bit<\/a><br \/>\n<a href=\"\/download.php?app=DBBlobEditor&#038;ver=deb\">Linux .deb (For Debian, Ubuntu) 64 bit<\/a><br \/>\n<a href=\"\/download.php?app=DBBlobEditor&#038;ver=rpm\">Linux .rpm (For Red Hat, Fedora, SUSE) 64 bit<\/a><br \/>\n<a href=\"\/download.php?app=DBBlobEditor&#038;ver=pkg\">MacOS 64 bit<\/a><br \/>\n<\/span><\/p>\n<h2>Batch export PostgreSQL query results BYTEA (BLOB) to files<\/h2>\n<p> Run <a href=\"https:\/\/www.withdata.com\/dbblobeditor\/\">DBBlobEditor<\/a>, login to PostgreSQL.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.withdata.com\/images\/logon\/choose_postgresql_logon.png\" ALT=\"Bulk export PostgreSQL query results BYTEA (BLOB) to files - login to PostgreSQL\" width=\"430\" height=\"441\" style=\"max-width:100%;height:auto;display:block;\"><\/p>\n<p> Click &#8220;Start New Task &#8211; Export LOB To Files&#8221; at task dialog.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.withdata.com\/images\/lobeditor\/task-list.png\" ALT=\"Batch export PostgreSQL query results BYTEA (BLOB) to files - Task Window\" width=\"500\" height=\"373\" style=\"max-width:100%;height:auto;display:block;\" loading=\"lazy\" decoding=\"async\"><\/p>\n<p> Enter PostgreSQL query, export <a href=\"https:\/\/www.withdata.com\/blog\/blob\/postgresql-bytea.html\">PostgreSQL BYTEA (BLOB)<\/a> to files.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.withdata.com\/images\/lobeditor\/batch-export-blob-query.gif\" alt=\"Batch export PostgreSQL query results BYTEA (BLOB) data to files\" width=\"487\" height=\"560\" 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\/blob-to-file\/export-postgres-blob-to-file\">PostgreSQL BYTEA (BLOB) exporter<\/a><\/p>\n<div id=\"download-bottom\" style=\"clear: both;\">\n<p>Download Withdata DBBlobEditor<a href=\"#download-bottom\" onclick=\"dbv.style.display = 'block';\"><img decoding=\"async\" src=\"https:\/\/www.withdata.com\/images\/btn_download_green.png\" alt=\"Download DBBlobEditor\" 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=DBBlobEditor&#038;ver=win64\">Windows 64 bit<\/a><br \/>\n<a href=\"\/download.php?app=DBBlobEditor&#038;ver=win32\">Windows 32 bit<\/a><br \/>\n<a href=\"\/download.php?app=DBBlobEditor&#038;ver=deb\">Linux .deb (For Debian, Ubuntu) 64 bit<\/a><br \/>\n<a href=\"\/download.php?app=DBBlobEditor&#038;ver=rpm\">Linux .rpm (For Red Hat, Fedora, SUSE) 64 bit<\/a><br \/>\n<a href=\"\/download.php?app=DBBlobEditor&#038;ver=pkg\">MacOS 64 bit<\/a><br \/>\n<\/span><\/p>\n<\/div>\n<p>See <a href=\"https:\/\/www.withdata.com\/videos\/db-blob-editor\/batch-export-query-blob-postgres\">Video: Batch export postgresql BYTEA (BLOB) data from query results to files in a few clicks<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Want to batch export PostgreSQL query results BYTEA (BLOB) to files ? Try Withdata DBBlobEditor, a PostgreSQL BYTEA (BLOB) editor, Bulk export PostgreSQL query results BYTEA (BLOB) to files, East and Fast. Can run in GUI mode, just a few mouse clicks. Can run in Command line, for Scheduled Tasks and Streams. Support Windows, Linux, [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[443],"tags":[97,3728,1370,3729],"class_list":["post-3179","post","type-post","status-publish","format-standard","hentry","category-pglobeditor","tag-blob","tag-export-bytea","tag-postgresql","tag-postgresql-export-bytea"],"_links":{"self":[{"href":"https:\/\/www.withdata.com\/blog\/wp-json\/wp\/v2\/posts\/3179","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=3179"}],"version-history":[{"count":8,"href":"https:\/\/www.withdata.com\/blog\/wp-json\/wp\/v2\/posts\/3179\/revisions"}],"predecessor-version":[{"id":40533,"href":"https:\/\/www.withdata.com\/blog\/wp-json\/wp\/v2\/posts\/3179\/revisions\/40533"}],"wp:attachment":[{"href":"https:\/\/www.withdata.com\/blog\/wp-json\/wp\/v2\/media?parent=3179"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.withdata.com\/blog\/wp-json\/wp\/v2\/categories?post=3179"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.withdata.com\/blog\/wp-json\/wp\/v2\/tags?post=3179"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}