Что такое WOFF2? Объяснение формата Web Open Font 2.0

WOFF2 — это формат веб-шрифтов W3C, который использует сжатие Brotli для дальнейшего уменьшения шрифтов TrueType/OpenType по сравнению с WOFF. Узнайте, как работает WOFF2 и его преимущества.

Бесплатный онлайн-конвертер файлов. Работает в Chrome, Firefox, Safari, Edge, Opera и других современных браузерах на Windows, macOS, Linux, Android и iOS. Не требует установки ПО или регистрации. Все преобразования выполняются прямо в браузере, поэтому ваши файлы не покидают устройство. Бесплатно и без учётной записи.

Font

Что такое WOFF2? Объяснение формата Web Open Font 2.0

Формат веб-шрифтов W3C, использующий сжатие Brotli для минимизации загрузки шрифтов.

Последнее обновление:

Year2018
TypeWeb font wrapper
UsageModern web fonts

What is it?

WOFF2 (Web Open Font Format 2.0) is the successor to WOFF, published as a W3C Recommendation in March 2018. Like WOFF, it wraps SFNT-based TrueType or OpenType fonts, but it achieves substantially smaller file sizes.

WOFF2 replaces WOFF's zlib compression with the Brotli algorithm and adds font-specific preprocessing of the glyph tables. This typically yields around 30% better compression than WOFF, while supporting the full TrueType/OpenType feature set including variable fonts and font collections.

Technical Specifications

DeveloperW3C (reference implementation by Google)
File Extension.woff2
MIME Typefont/woff2
Released2018 (W3C Recommendation)
TypeBrotli-compressed web font wrapper (SFNT-based)

Pros & Cons

Advantages

Лучшее в своем классе сжатие

WOFF2 uses Brotli plus glyph-table preprocessing, typically about 30% smaller than WOFF for faster loading.

Полная поддержка функций

It supports the entire TrueType/OpenType spec, including variable fonts, color fonts, and font collections.

Широкая поддержка браузерами

WOFF2 is implemented in all major modern browsers and is widely used in production.

Эффективен на мобильных устройствах

Brotli decoding is designed to be fast and memory-friendly even on lower-end mobile devices.

Disadvantages

Нет поддержки очень старых браузеров

Legacy browsers that predate WOFF2 require a WOFF or TTF fallback.

Формат только для веба

WOFF2 is designed for web delivery and is not used for desktop installation or print.

Требует инструментов Brotli

Creating WOFF2 requires Brotli-capable tools, though these are now widely available.

When to Use It

WOFF2 is the default modern format for serving custom web fonts.

Основная доставка веб-шрифтов

Sites serve WOFF2 first via @font-face to give most visitors the smallest, fastest fonts.

Развертывание переменных шрифтов

WOFF2 efficiently delivers variable fonts, packing many weights and styles into one compressed file.

Оптимизация производительности

Developers adopt WOFF2 to reduce page weight and improve Core Web Vitals on font-heavy pages.

How to open a WOFF2 file

Software for working with WOFF2 files can be categorized into professional tools, free/open-source options, browser-based utilities, and built-in applications. Professional tools often cater to designers and developers needing advanced features, while free/open-source options are suitable for users on a budget. Browser-based utilities provide quick access without installation, making them ideal for casual users. Built-in applications may offer basic functionality for users who need minimal editing or viewing capabilities.

When choosing software for WOFF2, key factors include feature fidelity, whether editing or viewing is required, cost model, and platform compatibility. Users should consider if they need robust editing features or simple viewing capabilities. Export needs are also crucial, as some tools may offer limited output formats. In cases where extensive editing is unnecessary, converting WOFF2 to other formats might be a more efficient solution.

FontForge 2023

Windows, macOS, LinuxFree (GPL)

FontForge is a free and open-source font editor that supports WOFF2 files. It allows users to view and edit font glyphs, making it suitable for detailed font design work.

Ключевые функции
  • Full glyph editing and manipulation
  • Support for multiple font formats
  • OpenType and TrueType support
  • Kerning and hinting adjustments
Преимущества
  • Comprehensive editing capabilities for fonts
  • Supports a wide range of font formats
  • Active community and extensive documentation
Ограничения
  • Steeper learning curve for beginners
  • User interface can be less intuitive

Экспортирует в: TTF, OTF, WOFF, WOFF2, SVG

Лучше всего для: FontForge is ideal for users needing a powerful, free tool for comprehensive WOFF2 font editing.

Перейти FontForge →

Transfonter 2023

All (browser)Free / Paid

Transfonter is a web-based service that allows users to convert WOFF2 files into various web font formats. It is user-friendly and focuses on quick conversions rather than extensive editing.

Ключевые функции
  • Batch conversion of font files
  • Options for font subsetting
  • Custom CSS generation for web use
  • Preview of converted fonts
Преимущества
  • Quick and easy to use online tool
  • No installation required
  • Supports multiple font formats
Ограничения
  • Limited editing capabilities
  • Dependent on internet connection

Экспортирует в: WOFF, TTF, EOT, SVG

Лучше всего для: Transfonter is perfect for users needing fast and simple WOFF2 conversions without installation.

Перейти Transfonter →

Glyphs 3.0

macOSOne-time $299

Glyphs is a professional font creation tool that supports WOFF2 files, offering advanced features for type designers. It allows for precise control over font design and export options.

Ключевые функции
  • Advanced glyph editing tools
  • Multiple master and variable font support
  • Extensive OpenType feature support
  • Export to multiple web font formats
Преимущества
  • Highly professional and feature-rich
  • Intuitive interface for designers
  • Strong support for modern font technologies
Ограничения
  • High cost may deter casual users
  • macOS only limits accessibility

Экспортирует в: TTF, OTF, WOFF, WOFF2, SVG

Лучше всего для: Glyphs is best for professional type designers who require a comprehensive and powerful tool for WOFF2 font creation.

Перейти Glyphs →

Webfont Generator 2023

All (browser)Free / Paid

Webfont Generator is an online tool that converts fonts, including WOFF2, into web-friendly formats. It is designed for web developers looking to optimize font delivery for websites.

Ключевые функции
  • Upload and convert multiple font formats
  • Generate CSS for web integration
  • Options for font subsetting
  • Preview fonts before download
Преимущества
  • Simple and effective web-based tool
  • No software installation required
  • Generates necessary CSS automatically
Ограничения
  • Limited editing features
  • Free version has some restrictions

Экспортирует в: WOFF, TTF, EOT, SVG

Лучше всего для: Webfont Generator is ideal for web developers needing a straightforward solution for converting WOFF2 fonts for online use.

Перейти Webfont Generator →

Convert WOFF2 Files Free

Use our free online converter to convert WOFF2 and other formats - no signup, no watermarks.

Try Font Converter Free

References

  1. WOFF File Format 2.0 - W3C
  2. WOFF 2.0 improves compression - W3C Press Release
  3. Web Open Font Format - Wikipedia
  4. font/woff2 media type - IANA