Merge HTML Files
Quick answer
To merge HTML files online, add up to 5 .html files below, drag them into order and click Merge and Download. The tool builds one valid HTML page: each file's body becomes a section, in order, and their style sheets are collected into a single head.
Click here or Drop files to upload
How to use it
- 1 Export or save each page as a complete .html file.
- 2 Add the files and arrange them in the order their sections should appear.
- 3 Click Merge and Download, then open merged-file.html in a browser to check styles and links.
What to expect
- Each file's body content is wrapped in its own section, in the order you chose.
- Style blocks and stylesheet links from every file are kept once in the head. Styles from different pages can clash.
- Scripts in the head are not copied, and relative links and images still point to their original locations.
Frequently asked questions
Will the merged page look the same as the originals?
Mostly. Content and styles are kept, but CSS rules from different pages can affect each other once they share one page.
Can I turn the merged HTML into a Google Doc?
Yes. Upload the .html file to Google Drive and open it with Google Docs.
What happens to scripts in my HTML files?
Scripts in each file's head are not copied, so interactive features may stop working. Styles and body content are kept.
Can I tell which part came from which file?
Yes. Each file's content is wrapped in its own section element marked with the original file name.
Related guides
- How to Convert Microsoft Word or Google Docs to EPUB Format To convert a Google Doc to EPUB, open it and choose File > Download > EPUB Publication (.epub). Word has no built-in EPUB export, so upload the .docx to Google Drive, open it in Google Docs and download it as EPUB, or use DAISY's free WordToEPUB app on Windows.
- How to Export Google Docs as a PDF (Desktop, Email & Mobile) To export a Google Doc as a PDF, open it and click File > Download > PDF document (.pdf). If the Doc has tabs, choose Current Tab or All Tabs and click Export. To set margins or a page range first, use File > Print and save as PDF. On Android, tap ⋮ > Share and export > Save as.
- Google Docs to Word (Without Losing Formatting) To convert a Google Doc to Word, open it and choose File > Download > Microsoft Word (.docx); the file saves to your Downloads folder. To convert several Docs at once, select them in Google Drive, right-click and choose Download to get a ZIP of .docx files. On mobile, use More > Share & export > Save as Word.