PPT to HTML Fonts: Why They Change and How to Fix Them

A web page can only show a font that is installed on the viewer's device or delivered with the page. When the font on your slides is neither, the browser swaps in another one and the lines break in new places. Embedding the font in PowerPoint before you convert fixes this for most decks.

The same slide title shown twice: in a narrow serif font it fits on one line, in a wide bold font it breaks onto two lines and spills out of its box

Why the font changes

A .pptx usually doesn't contain its fonts. It just says "this text is in Calibri" or "this title is in Montserrat", and PowerPoint finds that font on your computer. A converted HTML file works the same way: it names the font, and the browser of whoever opens it looks for it on their device.

On your own computer that almost always works, because you made the deck there. On a colleague's Mac without Microsoft Office, on a phone, or on a company laptop with a locked font list, the font may not exist. The browser then uses another one.

The converter on this site plans for that. For each piece of text it names your font first, then a close stand-in where one exists (Calibri and Aptos, PowerPoint's default fonts, have close stand-ins that keep the text about the same shape), and finally a plain font of the same kind: serif, sans-serif or monospace, picked from the font's name. So a missing serif font becomes another serif rather than whatever the browser defaults to.

A stand-in still has different letter widths. A title that fitted on one line can wrap onto two, and a full text box can spill over its edge. That's the change most people notice.

Fonts inside the file travel with it

If the font is embedded in the .pptx, the converter takes it along, and every viewer sees the font you chose, whatever is installed on their device.

  • In a web presentation, the font is stored inside the single .html file, next to the pictures.
  • In editable HTML, the font files go into a fonts folder in the .zip, and styles.css loads them.

That makes embedding the most reliable fix: you do it once in PowerPoint, and the HTML looks the same on every screen.

How to embed fonts in PowerPoint

On Windows

  1. Open the presentation and go to File > Options > Save.
  2. Under Preserve fidelity when sharing this presentation, tick Embed fonts in the file.
  3. Choose Embed all characters if anyone will edit the text later, or Embed only the characters used to keep the file smaller.
  4. Save the file, then convert the saved copy.

On a Mac

  1. Go to PowerPoint > Preferences > Save.
  2. Under Font Embedding, tick Embed fonts in the file, and pick all characters or only the ones used.
  3. Save, then convert.

Microsoft says font embedding on a Mac needs PowerPoint 2019 (version 16.17) or later, or a Microsoft 365 subscription. Its guide to embedding fonts has the details.

Pick "all characters" if the text will change. "Only the characters used" keeps just the letters already on the slides. If someone later types a word with a new letter into the editable HTML, that letter shows in a stand-in font.

Some fonts refuse to be embedded. A font's maker decides whether it may be embedded, and PowerPoint warns you when one can't be saved with the presentation. On a Mac, older PostScript Type 1 fonts can't be embedded either; OpenType and TrueType fonts can. For these, use the safe fonts below or accept a stand-in.

One more thing to check if the HTML is going on a public website: putting a font file on a site is a form of distribution, and some font licenses allow desktop use but not web use. Fonts from Google Fonts are licensed for the web; for a font your company bought, check its license first.

Fonts that are safe without embedding

If you'd rather not embed anything, use fonts that Windows and macOS both install: Arial, Verdana, Tahoma, Trebuchet MS, Georgia, Times New Roman and Courier New. On a computer they show as you set them. Phones don't have all of them, so a similar font stands in there, but the difference is small.

Calibri and Aptos are a middle case. They come with Microsoft Office, and Calibri also with Windows, but not with every Mac or phone, so some viewers will see a stand-in. Because the stand-in is close, the slides usually keep their layout. If a slide is packed to the edge, leave a little room.

Decorative and brand fonts are where things go wrong. A thin display font, a condensed headline font, or a handwriting font has no close match, and the plain stand-in can look very different. Embed these, every time.

How to see which fonts will change

Checking the preview on your own computer can fool you: it shows the fonts installed on your machine, so everything looks right to you even when other people will see stand-ins.

Use the converter's notes instead. After you drop a deck on PPT to HTML, the list headed "things to know about this file" names every font that isn't embedded and has no close stand-in, with the slides it appears on. Common fonts and fonts with close stand-ins aren't listed, so anything that does show up is worth embedding.

For a deck that matters, also open the result on a device that lacks the font, such as a phone or a colleague's Mac. To see how a .pptx looks there before converting anything, open it in the PPTX viewer on that device.

Changing the font after converting

In editable HTML, the fonts are set in styles.css under their real names, so you can search for a font name and replace it with another. To use a web font, add its stylesheet link (Google Fonts gives you one) to index.html, then use its name in styles.css. Check the slides afterwards: a wider font can push text past the edge of its box.

A web presentation keeps everything inside one file, which makes it awkward to edit by hand. Change the font in PowerPoint and convert again; it takes less time than editing the file.

Questions people ask

Why do my fonts look right on my computer but wrong on someone else's?

Your computer has the font installed, theirs doesn't. The HTML names the font, and each device uses its own copy if it has one. Embed the font in PowerPoint before converting and everyone gets the same font.

Why does my text overflow its box after converting?

A stand-in font with wider letters is being used. Embed the original font, switch to one of the safe fonts, or shorten the text a little and convert again.

Can I use Google Fonts in the slides?

Yes. Install the font on your computer, use it in PowerPoint and embed it, and it comes along in the HTML. Google Fonts are licensed for use on websites.

Does the same thing happen from HTML to PowerPoint?

Yes, in the other direction: PowerPoint shows a web font only if it's installed on the computer that opens the file. Turning HTML slides into PowerPoint covers what to do about it.