How to use pip install fonttools pip install fonttools[ufo,lxml,woff,unicode] put all css font-face files in css folder. run css_font_to_woff_to_otf.py file python css_font_to_woff_to_otf.py