{"id":1459,"date":"2026-09-21T12:33:27","date_gmt":"2026-09-21T17:33:27","guid":{"rendered":"https:\/\/nodakengineering.com\/?p=1459"},"modified":"2026-09-21T13:15:33","modified_gmt":"2026-09-21T18:15:33","slug":"how-to-combine-pdf-files-on-windows-11-uisng-wsl","status":"publish","type":"post","link":"https:\/\/nodakengineering.com\/?p=1459","title":{"rendered":"Combine PDF Files on Windows 11 Using WSL"},"content":{"rendered":"<p>As usual Linux has the most elegant and simple solution to a problem that should be easy to perform in Windows as well.<\/p>\n<p>I simply want to combine multiple PDFs into one and not have to &#8220;upload&#8221; my documents to an online service to do so.<\/p>\n<p>The simplest solution I found was to use <a href=\"https:\/\/learn.microsoft.com\/en-us\/windows\/wsl\/install\" target=\"_blank\" rel=\"noopener\">Windows Subsystem for Linux<\/a> (WSL) which worked a treat.<\/p>\n<p><code><br \/>\n# How to combine PDF files on Windows 11 using WSL (Ubuntu)<\/p>\n<p># Install software that includes pdfunite utility<br \/>\nsudo apt install poppler-utils<\/p>\n<p># Install rename support<br \/>\nsudo apt install rename<\/p>\n<p># Change to directory where PDF files reside<br \/>\ncd \/mnt\/c\/Users\/USERNAME\/Downloads\/PDFs\/<\/p>\n<p># Copy all needed files to temp directory<br \/>\ncp *.pdf ..\/TEMP<\/p>\n<p># Change to the temp directory<br \/>\ncd ..\/TEMP<\/p>\n<p># Replace all spaces in filenames with underscores<br \/>\nrename 's\/ \/_\/g' *<\/p>\n<p># Combine all the PDFs in alphnumeric order<br \/>\npdfunite $(ls -v *.pdf) combined.pdf<br \/>\n<\/code><\/p>\n<p><a href=\"https:\/\/launchpad.net\/ubuntu\/noble\/+package\/poppler-utils\" target=\"_blank\" rel=\"noopener\">Poppler-utils<\/a> is a collection of command-line tools used to view, manipulate, and convert PDF documents, built on the <a href=\"https:\/\/poppler.freedesktop.org\/\" target=\"_blank\" rel=\"noopener\">Poppler<\/a> PDF rendering library.<\/p>\n<p>The <strong>pdfunite <\/strong>utility included in poppler-utils merges multiple PDF files into one.<\/p>\n<p>Similar outcome can be had in macOS via <a href=\"https:\/\/brew.sh\/\" target=\"_blank\">Homebrew<\/a>:<br \/>\n<code>brew install poppler<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>As usual Linux has the most elegant and simple solution to a problem that should be easy to perform in Windows as well. I simply want to combine multiple PDFs into one and not have to &#8220;upload&#8221; my documents to an online service to do so. The simplest solution I found was to use Windows &#8230; <a title=\"Combine PDF Files on Windows 11 Using WSL\" class=\"read-more\" href=\"https:\/\/nodakengineering.com\/?p=1459\" aria-label=\"Read more about Combine PDF Files on Windows 11 Using WSL\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1459","post","type-post","status-publish","format-standard","hentry","category-computers"],"_links":{"self":[{"href":"https:\/\/nodakengineering.com\/index.php?rest_route=\/wp\/v2\/posts\/1459","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nodakengineering.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nodakengineering.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nodakengineering.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/nodakengineering.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1459"}],"version-history":[{"count":15,"href":"https:\/\/nodakengineering.com\/index.php?rest_route=\/wp\/v2\/posts\/1459\/revisions"}],"predecessor-version":[{"id":1474,"href":"https:\/\/nodakengineering.com\/index.php?rest_route=\/wp\/v2\/posts\/1459\/revisions\/1474"}],"wp:attachment":[{"href":"https:\/\/nodakengineering.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1459"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nodakengineering.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1459"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nodakengineering.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1459"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}