Pages exports a page-layout document: absolutely positioned text boxes, pixel margins on every paragraph, and a private .AppleSystemUIFont declaration that only macOS resolves. This page covers that output shape and why the font breaks everywhere else.
Editor:Apple Pages (macOS and iOS/iPadOS), part of the iWork suite
Pages generates HTML with -webkit- and -apple- prefixed CSS properties, Apple system font declarations (like .AppleSystemUIFont), and WebKit-specific text rendering hints. Paragraph styles include detailed spacing attributes that only render correctly in Safari or WebKit browsers.
A fragment with a page-level style block and a body of paragraphs carrying explicit margin:0px declarations.
font-family: '.AppleSystemUIFont' — a private macOS system font name that Windows and Linux browsers cannot resolve, so text silently falls back to a default serif or sans.
Pixel-based font-size and line-height on every paragraph, plus font-stretch:normal and text-rendering hints that only WebKit interprets.
<b> and <i> inside the styled paragraph, which is closer to semantic markup than Docs or Word produces.
Images are exported with absolute or file-relative links, often wrapped in a div that carries the object's position; text boxes paste as absolutely positioned blocks.
Apple Pages Output
<p style="margin: 0px; font-stretch: normal; font-size: 14px; line-height: normal; font-family: '.AppleSystemUIFont';"><b>Introduction</b></p> <p style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; font-family: '.AppleSystemUIFont';">This is a paragraph with <b>bold text</b> and <i>italic text</i>.</p>
Clean HTML
<h2>Introduction</h2> <p>This is a paragraph with <strong>bold text</strong> and <em>italic text</em>.</p>
Copy the text from Pages (or export to HTML if the layout matters)
Clean in Publish Helper so the .AppleSystemUIFont declarations and pixel margins are removed
Convert absolutely positioned text boxes into ordinary paragraphs
Preview on a non-Apple browser to confirm the fallback font looks right
Sends Pages' HTML flavour with .AppleSystemUIFont declarations and pixel metrics. Safari may render it closer to the original than Chrome or Firefox.
Produces a full document with an _files asset folder, absolute-ish image links, and the same font and spacing declarations, plus a page-width wrapper.
A round trip through Word: the output then carries Word's MsoNormal classes instead of Pages' Apple font declarations. Not cleaner, just differently messy.
Copying from an iPad sends an HTML flavour too, but text boxes and shapes are often flattened into paragraphs, which loses layout order.
.AppleSystemUIFont is a macOS-private name. Removing the font-family declarations lets the destination's typography apply; there is no cross-platform equivalent to keep.
Every paragraph carries its own margin and line-height in pixels. Strip the styles so the CMS theme's paragraph spacing applies uniformly.
Pages positions text boxes as absolutely positioned elements. Convert them to ordinary paragraphs before publishing, or rebuild the layout with the CMS's own blocks.
Pages is built on a page-layout model inherited from print, and its HTML export reflects that. Text boxes, shapes and images are positioned objects, not flowed content, so a paste can carry absolute positioning that no blog theme expects. The visible symptom is a section that overlaps the header or sits in a narrow column while the rest of the post is full width.
The font declaration is the most distinctive Pages artefact and the easiest to diagnose: '.AppleSystemUIFont' starts with a dot because it is a private system font identifier, and the leading dot makes some CSS parsers drop the declaration entirely while others keep it and fail to resolve the name. Either way the reader's browser picks a fallback, which is why a Pages paste can look correct on the author's Mac and different on every other machine.
Pages defaults to the macOS system font, which HTML has no portable name for, so the export writes the private identifier. Browsers on macOS may resolve it; others cannot, so the text falls back. Removing the declaration is the only reliable fix.
It is a different flavour of messy. Word export replaces the Apple font declarations with MsoNormal classes and mso- properties. Neither is clean; the HTML export is easier to clean because it contains fewer Office-specific constructs.
Not directly. Pages HTML includes Apple-specific font families and WebKit CSS properties that render differently in non-Safari browsers. Clean it with Publish Helper first for consistent cross-browser results.
Pages defaults to the macOS system font, which is referenced as .AppleSystemUIFont in HTML. This font name isn't recognized by Windows or Linux browsers, causing fallback to a generic font. Publish Helper strips these declarations.
Yes. Copy from Pages on iPad, open Publish Helper in Safari or any mobile browser, paste into the editor, and clean the HTML. The tool works entirely in the browser on any device.
Last updated: March 2026