[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"extension:v3:en:woff2":3},{"resolvedFromAlias":4,"canonicalExt":5,"ext":5,"name":6,"category":7,"categoryName":8,"updatedAt":9,"popularity":10,"summary":11,"howToOs":12,"quickAnswer":18,"answerIntro":19,"whatIs":20,"description":21,"furtherReading":22,"openInstructions":38,"commonIssues":52,"securityNotes":72,"faq":76,"aliases":89,"mimeTypes":90,"relatedExtensions":92,"breadcrumbs":122,"categoryAnchor":132,"categoryFuturePath":133,"metaDescription":134,"availableHowToOs":135,"openOnDeviceLinks":136,"cannotOpenReasons":152,"cannotOpenFixes":153,"convertOptions":154,"securityAffiliateMessaging":155,"securityAffiliates":156},false,"woff2","WOFF2 Web Font","fonts","Fonts","2026-06-12T08:26:34.487Z",75,".woff2 is a WOFF2 (Web Open Font Format 2.0) file used to deliver compressed font data on the web. It’s most commonly “opened” by web browsers via CSS rather than installed like a desktop font.",[13,14,15,16,17],"windows","mac","linux","ios","android","To open .WOFF2 files on Windows, if you’re a web developer: add the .woff2 file to your site and reference it from CSS using an @font-face rule, then open the page in a browser to see the font applied.","To open a .woff2 file, use it as a web font in a webpage (for example with CSS @font-face) and view the result in a modern browser. If you just want to inspect the file, you typically do that from development tools or font tooling rather than by double-clicking it.","WOFF2 is a web font packaging format standardized by W3C that stores font data in a compressed form optimized for web delivery. It’s commonly served by websites and consumed by browsers through CSS font loading.","WOFF2 (Web Open Font Format 2.0) is a W3C Recommendation for packaging font data for use on the Web, identified by the .woff2 extension. Compared with older web font formats, its primary goal is efficient web delivery through compression while keeping the font data self-contained for browser use.\n\nIn practice, .woff2 files are usually part of a website’s assets and are referenced from CSS using @font-face rules. When configured correctly, the browser downloads the .woff2 resource and uses it to render text with the specified font.\n\nWOFF2 also has a standardized media type registered with IANA under the “font” top-level type, which helps servers and browsers identify the resource correctly when it is served over HTTP.",[23,26,29,32,35],{"title":24,"url":25},"WOFF File Format 2.0 (W3C Recommendation)","https://www.w3.org/TR/WOFF2/",{"title":27,"url":28},"MDN: Web Open Font Format (WOFF) (CSS guide, includes WOFF2 usage context)","https://developer.mozilla.org/en-US/docs/Web/CSS/Guides/Fonts/WOFF",{"title":30,"url":31},"IANA Media Types Registry (font/woff2 entry)","https://www.iana.org/assignments/media-types",{"title":33,"url":34},"shared-mime-info project (Linux MIME recognition background)","https://www.freedesktop.org/wiki/Software/shared-mime-info/",{"title":36,"url":37},"Shared MIME-info Database specification","https://specifications.freedesktop.org/shared-mime-info-spec/latest-single/",{"windows":39,"macos":42,"linux":45,"ios":48,"android":50},[40,41],"If you’re a web developer: add the .woff2 file to your site and reference it from CSS using an @font-face rule, then open the page in a browser to see the font applied.","If you received a .woff2 file and just want to see what it is: treat it as a web asset; open it from your editor/dev tools and use it in a test HTML/CSS page rather than trying to install it like a normal desktop font.",[43,44],"Use the .woff2 file in a webpage: reference it from CSS @font-face and open the page in a browser to verify it renders.","For inspection/debugging, keep it as a web asset and examine how it loads in the browser’s developer tools (network/fonts) rather than expecting Font Book to install it.",[46,47],"Use the .woff2 file in a webpage via CSS @font-face and open the page in a browser.","If file type detection is incorrect, ensure your desktop MIME database recognizes the extension via the shared MIME-info database used on Linux desktops.",[49],"Open a webpage (locally hosted or remote) that references the .woff2 in CSS; iOS browsers will use it as a web font when supported by the browser.",[51],"Open a webpage that references the .woff2 file using CSS @font-face; the browser will load it as a web font when supported.",[53,60,66],{"title":54,"description":55,"steps":56},"The font doesn’t load in the browser","Browsers typically use .woff2 through CSS @font-face. If the URL/path is wrong, the server serves the wrong content type, or the CSS rule is incorrect, the browser may fall back to a default font.",[57,58,59],"Confirm your CSS @font-face rule points to the correct .woff2 URL and that the file is actually reachable (check the browser’s Network panel).","Ensure your server sends the correct media type for .woff2: font/woff2.","Verify the @font-face rule selects the expected weight/style so your page actually uses the loaded face.",{"title":61,"description":62,"steps":63},"Double-clicking doesn’t “install” or preview the font",".woff2 is primarily a web delivery format; many desktop font managers focus on traditional installable formats. A .woff2 file is usually meant to be referenced by a browser, not installed system-wide.",[64,65],"Test the font by using it in a small HTML file with a CSS @font-face rule and open it in a browser.","If you need a system-installed font, obtain a desktop font format from the font vendor (for example, the same font family in a format intended for OS installation).",{"title":67,"description":68,"steps":69},"Linux desktop shows the wrong file type or icon","Linux desktops commonly rely on the shared MIME-info database for filename globs (extensions) and MIME identification. If the database is outdated or missing an entry, .woff2 may not be recognized correctly.",[70,71],"Update your distribution’s shared MIME-info database package so .woff2 is recognized.","If you maintain a desktop environment or package, add/verify a glob association for .woff2 according to the shared-mime-info specification.",[73,74,75],"A .woff2 file is font data, not an executable, but it is still untrusted binary input to font parsers in browsers and other software; malformed fonts can trigger vulnerabilities in font handling code.","Serve .woff2 files with the correct registered media type (font/woff2) so browsers and intermediaries handle them as fonts rather than misclassifying the content.","Only use web fonts from trusted sources, because they will be downloaded and parsed automatically when users visit a page that references them via CSS.",[77,80,83,86],{"question":78,"answer":79},"What is the MIME type for .woff2?","The registered media type is font/woff2.",{"question":81,"answer":82},"How do websites use a .woff2 file?","They reference it from CSS with an @font-face rule; the browser downloads the .woff2 resource and uses it to render text with that font.",{"question":84,"answer":85},"Is .woff2 the same as .woff?","They are related web font formats; WOFF2 is defined by the W3C WOFF File Format 2.0 specification and is commonly used as a more efficient web delivery format than older options.",{"question":87,"answer":88},"Should I try to install a .woff2 file as a system font?","Usually no—.woff2 is primarily intended for web use in browsers. If you need a system-installed font, obtain a version of the font intended for OS installation from the font provider.",[],[91],"font/woff2",[93,99,104,110,116],{"ext":94,"name":95,"category":7,"categoryName":8,"popularity":96,"summary":97,"howToOs":98},"ttf","TrueType Font",85,".ttf is a TrueType font file used to install and use fonts in operating systems and applications. It may also be an OpenType font that uses TrueType outlines but is still stored with the .ttf extension.",[13,14,15,16,17],{"ext":100,"name":101,"category":7,"categoryName":8,"popularity":10,"summary":102,"howToOs":103},"otf","OpenType Font",".otf is an OpenType font file used by operating systems and applications to render text. You typically open it by installing the font or by viewing it in a font manager/editor.",[13,14,15,16,17],{"ext":105,"name":106,"category":7,"categoryName":8,"popularity":107,"summary":108,"howToOs":109},"woff","Web Open Font Format (WOFF)",72,".woff is a web font container format used by websites to deliver fonts efficiently to browsers. You typically “open” it by using it in CSS on a web page, or by inspecting/previewing it with font tools.",[13,14,15,16,17],{"ext":111,"name":112,"category":7,"categoryName":8,"popularity":113,"summary":114,"howToOs":115},"gf","GF data",33,".gf files are TeX/METAFONT “generic font” bitmap output files, typically converted to .pk for use by DVI/TeX tools. You usually open them with TeX utilities like gftype or convert them with gftopk.",[13,14,15,16,17],{"ext":117,"name":118,"category":7,"categoryName":8,"popularity":119,"summary":120,"howToOs":121},"pk","PK data",30,".pk files are most commonly TeX Packed (PK) bitmap font files used by TeX/Metafont workflows. They are typically inspected or converted with TeX utilities such as pktype, gftopk, and pktogf rather than “opened” in a general-purpose app.",[13,14,15,16,17],[123,126,129],{"label":124,"to":125},"Home","/",{"label":127,"to":128},"File Extension Index","/file-extension",{"label":130,"to":131},".WOFF2","/file-extension/woff2","category-fonts","/category/fonts","Learn what .WOFF2 files are, how to open them on every platform, common fixes, and security best practices.",[13,14,15,16,17],[137,140,143,146,149],{"os":13,"label":138,"to":139},"Open .WOFF2 on Windows","/how-to/open-woff2-on-windows",{"os":14,"label":141,"to":142},"Open .WOFF2 on Mac","/how-to/open-woff2-on-mac",{"os":15,"label":144,"to":145},"Open .WOFF2 on Linux","/how-to/open-woff2-on-linux",{"os":16,"label":147,"to":148},"Open .WOFF2 on iOS","/how-to/open-woff2-on-ios",{"os":17,"label":150,"to":151},"Open .WOFF2 on Android","/how-to/open-woff2-on-android",[54,61,67],[57,58,59],[],"untrusted_source",[157,161],{"name":158,"description":159,"affiliateUrl":160},"Avast","Avast offers free and premium antivirus software that protects against viruses, malware, ransomware, and phishing. Scan files before opening them to ensure safety.","https://www.avast.com/lp-aff-consumer-store?expid=inf601",{"name":162,"description":163,"affiliateUrl":164},"Norton","Norton 360 delivers comprehensive antivirus protection, VPN, and identity theft monitoring. Scan files for threats before opening to keep your device secure.","http://buy.norton.com/aff_home?utm_campaign=en-ww_nor_n36_aff_nas_nau_nah_cj_nad_low:_sec_nat_mktc_norton_360"]