Jon-Becker
fontpls
Python

fontpls is a minimal cli tool for extracting font files from websites

Last updated Jun 27, 2026
89
Stars
7
Forks
0
Issues
0
Stars/day
Attention Score
18
Language breakdown
Python 100.0%
โ–ธ Files click to expand
README

fontpls

Unit Tests (on PR) PyPI version Installations

Overview

fontpls is a minimal cli tool for extracting font files from websites.

This tool helps web developers, designers, and typographers easily extract and reuse fonts from websites with minimal effort.

Please respect all font licenses when using this tool.

Installation

pip install fontpls

Or install from source:

git clone https://github.com/jon-becker/fontpls
cd fontpls
pip install -e .

Usage

Basic usage:

fontpls https://example.com

With options:

fontpls https://example.com --output fonts --threads 8 --tags h1,p,div

Options

| Option | Description | |--------|-------------| | --tags | Only include fonts used in the specified HTML tags (comma-separated) | | --exclude, -x | Exclude fonts used in the specified tags (comma-separated) | | --output, -o | Output font files to the specified directory | | --threads, -t | Number of download threads to use | | --verbose, -v | Increase verbosity level (use multiple times for more detail) |

Output

fontpls creates a directory structure like this:

example-com/
โ”œโ”€โ”€ Font1-Regular.woff2
โ”œโ”€โ”€ Font2-Bold.woff2
โ”œโ”€โ”€ Font3-Italic.woff2
โ”œโ”€โ”€ fonts.css
โ””โ”€โ”€ index.html
  • fonts.css: CSS stylesheet with @font-face declarations
  • index.html: HTML file showcasing all downloaded fonts

Contributing

If you'd like to contribute to fontpls, please open a pull-request with your changes, as well as detailed information on what is changed, added, or improved.

For more detailed information, see the contributing guide

Issues

If you've found an issue or have a question, please open an issue here. All issues must follow their respective templates.

๐Ÿ”— More in this category

ยฉ 2026 GitRepoTrend ยท Jon-Becker/fontpls ยท Updated daily from GitHub