
Settings
- Automatically detect Google Fonts: Detects Google Fonts referenced by rendered HTML and local site CSS, then replaces Google stylesheet and font URLs with localized copies when possible. Localized Google stylesheets are loaded asynchronously. Font files are not preloaded automatically by this feature.
- Remove Google connection hints: Removes
preconnectanddns-prefetchlinks tofonts.googleapis.comandfonts.gstatic.comwhile automatic localization is enabled or managed Google Fonts exist. - Allow remote fallback: When enabled, the original Google URL may remain in use if downloading or localizing a Google stylesheet or font fails. Disable this if the plugin itself must not fall back to Google URLs. Other extensions or custom code can still output their own remote URLs.
- Cache lifetime, days: Sets how long downloaded Google CSS and font files are reused before the plugin checks Google for an update. Expiration does not delete the local copy. Set this to
0to check for updates on every request. - Default font-display: Sets the default
font-displayvalue for uploaded fonts. Individual uploaded font variants can override it. Options areauto,block,swap,fallback, andoptional.

Font manager
Detected and managed Google Fonts
- Localize downloads a detected Google Font for local serving.
- Connect and localize adds a Google Fonts CSS URL to the managed list and downloads it. Paste a valid URL from
https://fonts.googleapis.com/. - Google Font filters let you choose subset mode and subsets, styles, weights, stylesheet display behavior, and whether font files should be preloaded (including which variants).
- Edit Google Font filters changes those options for a managed font. Use Save filters to apply the changes.
- Enable or Disable controls whether that Google URL is processed by the plugin. Other actions can remove a font from management, delete its entry, cached font files, or its filter profile.
Detection can take place during normal site requests. If automatic detection is disabled, you can still add a Google Fonts URL explicitly in the manager.
Uploaded local fonts
To add a font file, enter its family name, choose the file, set its weight and style, and upload it. Supported formats are WOFF2, WOFF, TTF, and OTF; each file must be no larger than 15 MB. A local font can contain multiple variants: open its edit panel to add variant files, adjust weight, style, or display behavior, or remove a variant. Use the family-level enable/disable and delete actions to manage the font.
