Web platform features explorer

Local fonts

The window.queryLocalFonts() method returns an array of locally-installed fonts, each represented by a FontData object.

Status

Limited availability

Browser support

  • Chrome 103 Released on 2022-06-21
  • Chrome Android See crbug.com/40840834
  • Edge 103 Released on 2022-06-23
  • Firefox
  • Firefox for Android
  • Safari
  • Safari on iOS

Usage (according to Chrome Platform Status)

~0.001% of page loads. More data at chromestatus.com.

Developer votes

Do you need this feature?
Let us know by leaving a 👍 reaction on the feedback issue. Don't forget to also leave a comment explaining your specific use case.

Developer use cases

  • For offline first apps, it is nice to have customization on the font based on the user’s local fonts. It also avoids downloading a font file online which adds time-to-display. The user might prefer fonts that they're more familiarized with It is nice to have for better DX overall For offline first apps, it is nice to have customization on the font based on the user’s local fonts. It also avoids downloading a font file online which adds time-to-display. The user might prefer fonts that they're more familiarized with It is nice to have for better DX overall [see original comment]