🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Compte Get it free
SafeFonts icon
Maintenu Testé jusqu'à 6.9.12 #13 in custom fonts

Polices de sûreté

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

Installations actives40+10+ niveaux
Téléchargements · 30D164▲ +39% vs prév. 30j
Évaluation—0 avis
Score de santé39/100En danger
Téléchargements de tous les temps1.2KDepuis novembre 2025
Support résolu—Aucun fil de discussion récent
A besoin deWP 6.2PHP 7.4+
Téléchargements · 7j56▲ +55.6% week over week
Notre verdict

Envisager une alternative

SafeFonts shows warning signs in 2026 — compare the alternatives below before installing. It runs on 40+ sites and was last updated 12 months ago, and scores 39/100 on our health check.

  • Petite base d'utilisateurs (40+ installations actives)
  • Très peu de critiques jusqu'à présent
  • Uniquement testé jusqu'à WordPress 6,9 (le dernier est de 7,1)

Comment s'accumule-t-il ?

Côte à côte sur les installations, les mises à jour, les évaluations et le support

Téléchargements quotidiens

369Sep 7Oct 21Dec 5
Hier6
Moyenne quotidienne (1 ans)3
Jour de pointe23Dec 10, 2025
12 Derniers mois919

Les pics de téléchargement suivent généralement une nouvelle version - chaque site qui met à jour automatiquement compte comme un téléchargement.

Classements

Where SafeFonts stands today

WordPress.org Classements de recherche

Position en direct dans la recherche de plugins, Top 100
Mot-cléPositionPlugins concurrentsCatégorie
Polices personnalisées >100 5,755 Meilleurs plugins de polices personnalisées →
polices de police >100 8,671 Les meilleurs plugins de polices →
Polices Google >100 3,667 Meilleurs plugins Google Fonts →
Gutenberg >100 8,553 Meilleurs plugins Gutenberg →
typographie >100 2,409 Meilleurs plugins de typographie →

Adoption de version

Part de sites actifs par version.

  • 1.2100.0%

About SafeFonts

À partir du Lisezmoi officiel · v1.2.0

Description

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 avec

Block Editors:
* WordPress Gutenberg Block Editor
* WordPress 6.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
* WordPress 6.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
* Individual font file uploads (.woff2, .woff, .ttf, .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
* Automatic preload tag generation: <link rel="preload" href="..." 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

Parfait pour

  • 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

Comment cela fonctionne

  1. Upload Fonts: Go to SafeFonts menu and upload your font files
  2. Configure Details: Set font family name, weight (100-900), and style (normal/italic)
  3. 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
  4. That’s It! Fonts are served locally with optimal performance

Getting Google Fonts

Download Google Fonts from these sources:

Once downloaded, upload the font files (.woff2, .woff, .ttf, .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

If you’re using WordPress 6.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
* family_slug – Sanitized family slug for folder names (v1.1.0+)
* font_style – normal or italic
* font_weight – 100-900
* file_path – Relative path to font file (includes family folder v1.1.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

Soutien

For support, feature requests, or bug reports, please visit:
* GitHub
* Website

Politique de confidentialité

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.

Installation

Installation automatique (recommandé)

  1. Go to Plugins > Add New in your WordPress admin
  2. Search for “SafeFonts”
  3. Cliquez sur Installer maintenant, puis activer
  4. Go to SafeFonts in the admin menu to start uploading fonts

Installation manuelle

  1. Download the plugin zip file
  2. Go to Plugins > Add New > Upload Plugin
  3. Choose the zip file and click Install Now
  4. Click Activate Plugin
  5. Go to SafeFonts in the admin menu

Premières étapes après l'installation

  1. Upload Your First Font: Go to SafeFonts > Upload tab
  2. Fill in Font Details: Enter font family name, select weight and style
  3. Upload File: Choose your font file (.woff2 recommended)
  4. Use in Gutenberg: Your font now appears in block typography settings
  5. Check CSS Reference: Visit SafeFonts > CSS Reference to see your CSS variables and implementation details

Journal de modifications

Font organization enhancement: Fonts are now organized in family-specific folders for better management. Automatic migration included - your existing fonts will be seamlessly moved to the new structure on update. UI improvement with clearer badge colors.

1.2.0

  • NEW: Variable font support – upload and use variable fonts with full weight range (e.g., 100-900 in a single file)
  • NEW: Variable font toggle in upload form – mark fonts as variable and set weight range
  • NEW: Automatic CSS generation with proper variable font format (font-weight: 100 900; format(‘woff2-variations’))
  • NEW: Visual indicator in font list showing variable fonts with weight range badge
  • IMPROVEMENT: Database schema updated with is_variable, weight_min, weight_max columns
  • IMPROVEMENT: Font preview uses appropriate weight (400) for variable fonts

1.1.9

  • NEW: CSS variables output for all fonts – enables manual font selection in custom CSS and builders supporting CSS custom properties
  • NEW: CSS Reference page – comprehensive documentation for CSS variables, Gutenberg classes, and implementation details
  • FIX: Auto-regeneration now works correctly for both single plugin updates and bulk updates
  • FIX: CSS regeneration hook now properly detects updates from all update methods

1.1.8

  • NEW: Manual CSS regeneration button in Settings page for refreshing fonts.css when needed
  • NEW: Automatic CSS regeneration after plugin updates to prevent font display issues
  • IMPROVEMENT: fonts.css automatically regenerates when plugin is updated via WordPress auto-update or manual update

1.1.7

  • FIX: WordPress Font Collection registration now uses correct data structure with font_family_settings wrapper, resolving Site Editor JavaScript errors
  • FIX: Font families now include proper fallback categories (serif, sans-serif, monospace, cursive, fantasy) in Font Library
  • IMPROVEMENT: Enhanced compatibility with FSE themes and Site Editor font management

1.1.6

  • MAJOR: Full prefix refactoring – all PHP elements now use chrmrtns_safefonts_ prefix for better namespace isolation
  • NEW: Per-weight font preloading – select specific font weights instead of entire families
  • NEW: File format display in preload UI – shows WOFF2, WOFF, TTF, OTF for each weight option
  • FIX: WordPress Plugin Check 1.7.0 compliance – all variables properly prefixed
  • FIX: Database query security – table names now properly escaped using %i placeholder
  • FIX: Form field prefix mismatch – preload settings now save correctly
  • IMPROVEMENT: Automatic migration from old safefonts_ prefix to new chrmrtns_safefonts_ prefix
  • IMPROVEMENT: Collapsible font family sections in preload settings for better organization
  • IMPROVEMENT: Enhanced uninstall.php with proper variable prefixing
  • Technical: Constants renamed (SAFEFONTS_* → CHRMRTNS_SAFEFONTS_*)
  • Technical: Function renamed (safefonts() → chrmrtns_safefonts())
  • Technical: Options migrated (safefonts_version → chrmrtns_safefonts_version, etc.)
  • Technical: New FontPreloader class extracted from Core for better code organization
  • Technical: CSS class names remain safefonts- for backwards compatibility
  • Security: All SQL queries now use WordPress 6.2+ $wpdb->prepare() with %i for table identifiers
  • Security: WordPress minimum requirement bumped to 6.2 (required for %i placeholder support)

1.1.5

  • CRITICAL FIX: Migration now runs automatically on plugin update (no longer requires deactivate/reactivate)
  • NEW: Bulk delete functionality – select multiple fonts and delete them at once with “Select All” option
  • NEW: Font format display – shows WOFF2, WOFF, TTF, or OTF badge in fonts list for better visibility
  • Fix: Font previews now display correctly in admin area (fonts.css properly enqueued)
  • Fix: Folder structure migration triggers on version change, not just activation
  • Fix: CSS file regeneration after migration ensures fonts display immediately
  • Fix: Browser cache issues with admin CSS/JS files using file modification timestamps
  • Improvement: Version check system ensures migrations run once per version upgrade
  • Improvement: Enhanced fonts list UI with checkboxes for individual selection
  • Improvement: Cleaned up font list layout for better readability (removed grid conflicts)
  • Technical: Added check_version_and_migrate() method that runs on plugins_loaded hook
  • Technical: Added handle_bulk_font_deletion() AJAX handler for bulk operations
  • Technical: CSS cache-busting using filemtime() for instant updates

Journal des modifications complet sur WordPress.org →

Captures d'écran

SafeFonts admin interface - Upload and manage fonts
SafeFonts admin interface - Upload and manage fonts
Font upload form with security validation
Font upload form with security validation
Installed fonts list with previews
Installed fonts list with previews
Settings page for file size and type configuration
Settings page for file size and type configuration
System information and WordPress 6.5+ compatibility check
System information and WordPress 6.5+ compatibility check
Fonts automatically available in Gutenberg typography settings
Fonts automatically available in Gutenberg typography settings
SafeFonts screenshot

Pour les développeurs

Est-ce votre plugin ? Montrez les chiffres.

Ajoutez un badge en direct à votre site, docs ou github readme. Il se met à jour par lui-même - aucun compte n'est nécessaire.

Badge d'installations actives Badge Badge de score de santé
Alternatives
Rang Plugin Installations actives Évaluation Mise à jour Santé
1 Polices personnalisées – hébergez vos polices localement Polices personnalisées – hébergez vos polices localement Les polices personnalisées sont un puissant plugin WordPress qui vous permet de télécharger vos propres polices personnalisées… par la force du remue-méninges 400K+ ★★★★★★★★★★ 4.3 (62) il y a 4 semaines 94
2 Utiliser n'importe quelle police | Téléchargeur de polices personnalisés Utiliser n'importe quelle police | Téléchargeur de polices personnalisés Téléchargez des polices personnalisées avec Uploader de polices personnalisés. Convertit automatiquement en WOFF2 pour un meilleur… de Dinesh Karki 200K+ ★★★★★★★★★★ 4.7 (1.1K) il y a 4 semaines 95
3 Plugin de polices | Google Polices, polices Adobe et téléchargement de polices Plugin de polices | Google Polices, polices Adobe et téléchargement de polices Le plugin #1 Fonts pour WordPress. Plus de 1 900 polices, polices Adobe et votre propre police… par FontSplugin 200K+ ★★★★★★★★★★ 5 (1.2K) il y a 1 mois 92
4 Polices de police Polices de police Ajoutez plus de police à votre éditeur WordPress par sites WP 7K+ ★★★★★★★★★★ 4.4 (99) Il y a 6 mois 71
5 Uploader de polices locales - Téléchargez et hébergez n'importe quelle police localement pour le RGPD Téléchargeur de polices locales Téléchargez et hébergez facilement des polices localement. Évitez les demandes externes pour améliorer la sécurité, la confidentialité… par themeruby 4K+ ★★★★★★★★★★ 5 (6) il y a 7 mois 63
6 Jooosi Fon – Utilisez des polices personnalisées, des polices Google ou des polices Adobe Jooosi Fon – Utilisez des polices personnalisées, des polices Google ou des polices Adobe Easy Self-Host Google Polices, Adobe Fonts Prise en charge ou téléchargez des polices personnalisées dans WordPress… par suasgn 4K+ ★★★★★★★★★★ 5 (25) il y a 4 semaines 78
7 Conceptions WBCOM – Uploader de polices personnalisés Conceptions WBCOM – Uploader de polices personnalisés Téléchargez vos propres fichiers de police et utilisez-les n'importe où sur votre site, ou ajoutez des polices Google avec un… par wbcomdesigns 3K+ ★★★★★★★★★★ 3.8 (14) il y a 1 mois 74
8 Polices personnalisées élégantes Polices personnalisées élégantes Une solution simple pour les polices personnalisées auto-hébergées. par louisreingold 2K+ ★★★★★★★★★★ 5 (3) Il y a 3 ans 35
9 Fonto – Gestionnaire de polices Web personnalisés Fonto – Gestionnaire de polices Web personnalisés Utilisez des polices Web Premium personnalisées dans l'éditeur, Personnaliser et Gestionnaire de styles. par vlad.olaru 2K+ ★★★★★★★★★★ 3 (4) il y a 1 semaine 72
10 Personnalisateur de widgets pour WordPress – version gratuite Personnalisateur de widgets pour WordPress – version gratuite Personnalisez vos widgets sans aucune connaissance CSS ! - mihajlovicennad.com par Dzeriho 100+ ★★★★★★★★★★ 5 (1) il y a 11 ans 32

FAQ

SafeFonts: quick answers

Réponses directes, extraites des données en direct WordPress.org.

Source : WordPress.org

Is SafeFonts free?

Yes. SafeFonts is free to download and use from the official WordPress.org plugin directory.

Is SafeFonts safe to use in 2026?

SafeFonts shows warning signs in 2026 — compare the alternatives below before installing. It runs on 40+ sites and was last updated 12 months ago, and scores 39/100 on our health check.

How many websites use SafeFonts?

SafeFonts is active on 40+ WordPress websites and has been downloaded 1,155 times since it launched in November 2025. It was downloaded 164 times in the last 30 days.

Does SafeFonts work with WordPress 7.1?

SafeFonts is officially tested up to WordPress 6.9.12, while the latest release is 7.1.5. It may still work, but try it on a staging site first.

What PHP version does SafeFonts need?

SafeFonts requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.

When was SafeFonts last updated?

The latest version, 1.2.0, was released on December 10, 2025 (12 months ago).

Who makes SafeFonts?

SafeFonts is developed and maintained by Chris Martens.

What are the best alternatives to SafeFonts?

The most popular alternatives to SafeFonts are Custom Fonts (400K+ installs), Use Any Font (200K+ installs) and Fonts Plugin (200K+ installs).

Propulsé par PageForge

Un modèle et une feuille de calcul. Une vraie page pour chaque recherche.

PageForge transforme chaque ligne d'un CSV en une page WordPress avec son propre titre, URL, SEO et schéma, construit sur la mise en page que vous Déjà conçu. Gratuit sur WordPress.org.

  • CSV et XLSX, plus Google Sheets sur les professionnels et les entreprises
  • Son propre titre, URL, SEO champs et schéma pour chaque page
  • Fonctionne avec l'éditeur de blocs, Elementor, Divi et Avada
  • Gratuit sur WordPress.org, pas de carte de crédit

↑↓ bouger↵ ouvrir