WordPress plugin intelligence profile

SafeFonts

Host custom fonts locally in WordPress with advanced security validation, block editor integration, and CSS variables support.

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 6.9
Current version1.2.0
WordPress coverageTested up to WordPress 6.9
Minimum stackWP 6.2 · PHP 7.4
Directory statusactive
Last directory update10 Dec 202510mo ago
Active installations40Adoption metric — not a quality score
WordPress.org ratingNo WordPress.org ratings yet
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records SafeFonts version 1.2.0 as active, updated 10mo ago and tested up to WordPress 6.9.

Overview

About this plugin

SafeFonts helps you comply with GDPR by hosting fonts locally and avoiding third-party requests, with seamless Gutenberg integration and CSS variables support.

If you need to host custom fonts locally on your WordPress site for performance, privacy, or GDPR compliance, SafeFonts makes it simple with advanced security validation, automatic integration with the WordPress block editor, and CSS variables for custom CSS usage.

Compatible With

Block Editors:

* WordPress Gutenberg Block Editor

5+ Font Library

* Full Site Editing (FSE) Themes

Need Page Builder Integration?

SafeFonts Pro adds seamless support for 14 integrations: Elementor, Bricks, Beaver Builder, Divi, Oxygen, Brizy, Builderius, Astra, GeneratePress, Kadence, Blocksy, Kadence Blocks, Spectra, and GenerateBlocks with zero configuration.

Why Choose SafeFonts?

🔒 Security-First Approach

* Magic byte validation for all font files

* MIME type verification

* File hash checking

* Configurable file size limits

* Protection against malicious uploads

⚡ Fast & Lightweight

* Custom database storage for instant queries

* Designed to minimize impact on page load speed

* Optimized font delivery

* Works with any theme or page builder

✅ Gutenberg Integration

* Automatic integration with block editor typography

5+ Font Library support

* Works with all blocks that support typography

* No configuration needed

🎨 CSS Variables Support

* Automatic CSS variables generation for all fonts

* Use var(–safefonts-font-slug) in custom CSS

* Works with any theme or builder supporting CSS custom properties

* Dedicated CSS Reference page with comprehensive documentation

🎥 Quick Start Video

Watch this quick tutorial to see how easy it is to upload and use custom fonts in WordPress.

🎯 Simple Upload Process

otf)

* Specify font family, weight, and style

* Visual font previews in admin

* Drag-and-drop ready interface

⚡ Performance Optimization

* Font preloading support for faster page loads

" as="font">

* User-selectable fonts for preloading (Settings tab)

* Best practice: Preload 1-2 critical fonts only

* Reduces flash of invisible text (FOIT)

* Improves Core Web Vitals scores

🌍 GDPR Compliant

* Local font hosting

* No external font requests—fonts are served entirely from your WordPress installation

* Complete data privacy

* Suitable for GDPR-compliant sites

Perfect For

  • Privacy-conscious websites requiring GDPR compliance
  • Sites that need custom or premium fonts
  • Agencies managing multiple client sites
  • Anyone wanting better control over typography
  • Performance-optimized websites

How It Works

  • Upload Fonts: Go to SafeFonts menu and upload your font files
  • Configure Details: Set font family name, weight (100-900), and style (normal/italic)
  • Use Everywhere: Your fonts automatically appear in:
  • Gutenberg block editor typography settings
  • CSS variables for custom CSS (check CSS Reference page)
  • WordPress 6.5+ Font Library
  • That’s It! Fonts are served locally with optimal performance

Getting Google Fonts

Download Google Fonts from these sources:

  • SafeFonts Web Font Downloader – convenient bulk download tool
  • Google Fonts GitHub – official repository
  • Google Webfonts Helper – third-party download tool

otf) through SafeFonts > Upload tab.

Need more features? SafeFonts Pro offers bulk ZIP imports, page builder integration, and advanced font management. Learn more

Supported Font Formats

  • WOFF2 (recommended – best compression)
  • WOFF (broad browser support)
  • TTF (TrueType fonts)
  • OTF (OpenType fonts)

WordPress 6.5+ Font Library

5 or higher, SafeFonts automatically integrates with the native Font Library in the Site Editor, giving you a unified font management experience.

Developer Documentation

Template Functions

SafeFonts provides helper functions for developers:

safefonts() - Get the main plugin instance safefonts()->font_manager->get_fonts() - Get all fonts from database safefonts()->font_manager->get_fonts_by_family() - Get fonts grouped by family

Hooks & Filters

Filters:

* upload_mimes – SafeFonts adds font MIME types automatically

Database Structure

Table: wp_chrmrtns_safefonts

* id – Font ID

* font_family – Font family name

0+)

* font_style – normal or italic

* font_weight – 100-900

0+)

* file_hash – SHA-256 hash for integrity

* file_size – File size in bytes

* mime_type – Validated MIME type

* created_at – Upload timestamp

* updated_at – Last update timestamp

Architecture

SafeFonts uses modern PHP namespaces and PSR-4 autoloading:

* Chrmrtns\SafeFonts\Core – Main plugin class

* Chrmrtns\SafeFonts\FontManager – Font validation and management

* Chrmrtns\SafeFonts\Admin\AdminInterface – Admin UI

Support

For support, feature requests, or bug reports, please visit:

* GitHub

* Website

Privacy Policy

SafeFonts does not collect, store, or transmit any personal data. All font files are stored locally on your WordPress installation. No data is sent to external services.

WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • custom fonts
  • google fonts
  • gutenberg
  • typography
Compatibility & maintenance

Compatibility & maintenance

Tested up to WordPress 6.9

Not yet marked as tested with WordPress 7.1. WordPress.org currently lists Tested up to 6.9.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to6.9
Minimum requirementsWordPress 6.2 · PHP 7.4
Update activity10 Dec 202510mo ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

No tracked version or compatibility changes have been recorded by WP PlugIndex yet.

Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.