Ta strona nie jest jeszcze przetłumaczona, więc wyświetla się po angielsku.

How do I put an HTML file in Google Docs?

Quick answer

To put an HTML file in Google Docs, upload the .html file to Google Drive, right-click it, and choose Open with > Google Docs. Google lists .html among the files it converts to Docs, up to 50 MB, so you get a Doc you can edit, share, or hand in. To keep the page itself working, with its buttons, forms, and scripts, drop the file into Convika's free upload box and paste the page's link into your Doc.

Publish my HTML page free

Free plan: no credit card, 1 published page, 10,000 page views a month.

On this page

You have an HTML file, maybe a report an AI wrote or a page you saved from the web, and you want it in Google Docs: its text in a Doc you can edit or hand in, or the page itself one click away from your Doc. Google Docs does the first through Google Drive. A link does the second.

Every Google fact below comes from Google's own help pages and Drive developer docs, read on November 23, 2026 (Japan time).

Open an HTML file as a Google Doc in 4 steps

1. Upload the HTML file to Google Drive

On a computer, go to drive.google.com. Click New > File upload and choose your .html file, or drag the file into a Drive folder.

2. Open it with Google Docs

Right-click the file in Drive, point to Open with, and choose Google Docs. Google lists .html among the document types it converts to Google Docs, beside .docx, .rtf, .odt, and plain text.

3. Edit the Doc

The file opens as a Google Doc. Fix the headings, cut what you don't need, and add your own notes, like any other Doc.

4. Share it, hand it in, or download it

Click Share to send it, attach it in Google Classroom, or click File > Download for a .docx or .pdf copy.

To convert every upload this way, open Drive settings on a computer and check Convert uploads to Google Docs editor format.

What the Doc keeps and what it drops

Google's help names the file types it converts and the size limits. It doesn't list what an HTML page keeps once it is a Doc.

What Google's help says about an HTML file in Google Docs, read on November 23, 2026.

QuestionAnswerWhere Google says it
Can Google Docs convert an .html file?YesWork with Office files: "File types you can convert to Docs, Sheets, or Slides"
How big can the file be?Up to 50 MB converted, and a Doc holds up to 1.02 million charactersFiles you can store in Google Drive
Does Drive show the page when you double-click the .html file?No: Drive lists .HTML under "Markup/Code" files it previewsFiles you can store in Google Drive
Can you turn the Doc back into HTML?Yes: Docs exports as "Web Page (HTML)" and "Web Page (HTML, zipped)"Drive API export formats
Do the page's scripts run in the Doc?Google doesn't say
Do the page's buttons and forms work in the Doc?Google doesn't say
Does the page's CSS layout carry over?Google doesn't say

A Doc is for reading and editing text. A page with a quiz, a calculator, a chart that moves, or a form that collects answers needs to stay a web page, and the next section puts that page in your Doc.

Publish the page, then paste its link into the Doc. Anyone who opens the Doc clicks through to the page itself, with every button and script running.

  1. Drop your .html file into the box at the top of this page, or paste its code, and click Get my preview link. No account and no email: the preview link works for 3 minutes.
  2. To keep the page at that one link, click Keep this page — free, no card and sign up. Click Publish page, choose Public, click Next, and, the first time, click Publish free. The page goes live at an address like yourpage.convika.page.
  3. In your Google Doc, click where the link goes, then Insert > Link. Type the text to show under "Text", paste the page's address under "Link", and click Apply.

The page opens in any browser on a phone or a computer, without a Convika account. The Free plan needs no credit card and gives you 1 published page, 50 form entries a month, and 10,000 page views a month. When the file changes, upload the new version and it goes live at the same link, so the link in your Doc never goes stale.

Copy part of the page into a Doc

When you need only a paragraph or a table, copy it from the page instead of converting the whole file.

  1. Open the file in a browser. Convika's HTML viewer opens it right in your browser without uploading it, on a phone or a computer.
  2. Select the part you want and copy it.
  3. Paste it into your Google Doc.

For a page that should look exactly as it does in the browser, save it as a PDF first (how to save an HTML page as a PDF). Google lists .pdf among the files it converts to text with OCR, and a PDF attaches anywhere a Doc does.

Frequently asked questions

Can Google Docs open an HTML file?

Yes. Upload the .html file to Google Drive, right-click it, and choose Open with > Google Docs. Google lists .html among the document types it converts to Docs, up to 50 MB. To keep the page itself working, publish it at a link and put the link in the Doc.

Why does my HTML file show code in Google Drive?

Drive lists .HTML with markup and code files such as .CSS and .JS, so a double-click shows a preview of the file, not the page. To show the page, open the file in a browser or publish it at a link. How to share an HTML file on Google Drive has the steps for each.

How do I add a working web page to a Google Doc?

Publish the page at a link, then add the link with Insert > Link in the Doc. With Convika, drop the .html file into the upload box, click Get my preview link, and keep the page free with an account for one link that lasts.

How do I turn a Google Doc into an HTML file?

In the Doc, click File > Download and choose the web page type. Google Docs exports as "Web Page (HTML)" and as a zipped web page that holds the HTML file with its images.

How do I hand in an HTML file in Google Classroom?

Attach the .html file from Drive to turn it in as a file, or attach a link to the published page so your teacher opens it in one click. How to submit an HTML file in Google Classroom walks through both.

Skipbox

Cheap & fast GitHub Actions runners, unlimited for $39 a month

Your own machine keeps Docker layers and package caches between jobs. Switch by changing one runs-on line.

Start a free Skipbox trial⁠

Sources

Each page was read on November 23, 2026, between 21:48 and 21:52 Japan time.

Put the working page in your Doc as a link

Drop in the HTML file. Convika puts it online at one link that opens in any browser, with its buttons, forms, and scripts running, ready to paste into a Google Doc.

Publish my HTML page free

Free plan: no credit card, 1 published page, 10,000 page views a month.