Convert OTF to TTF on Linux — Browser Tool vs fonttools Command Line
- Browser tool: zero installation, works in Firefox/Chrome, files stay local
- fonttools CLI: pip install fonttools — handles batch conversion and WOFF2
- Both approaches keep font files on your Linux machine (no external upload)
- Browser tool is faster for one-off conversions; fonttools for automation
Table of Contents
Converting fonts on Linux has two good no-upload options: a browser-based converter (zero installation, works in Firefox or Chromium now) or the fonttools Python library (command-line, handles batch conversions and WOFF2). Both process fonts entirely on your machine. Here's when to use each.
Option 1: Browser-Based Font Converter (Zero Installation)
The WildandFree Font Converter runs entirely in Firefox, Chromium, or Chrome on Linux. No packages to install, no Python dependencies, no GUI app.
- Open the Font Converter in your browser.
- Upload your .ttf, .otf, or .woff file (drag from Nautilus, Thunar, Dolphin, or Nemo file manager).
- Select output format and click Convert.
- Your browser downloads the converted file to ~/Downloads/.
To install the converted TTF or OTF on Linux:
mkdir -p ~/.fonts cp ~/Downloads/your-font.ttf ~/.fonts/ fc-cache -fv
The fc-cache command rebuilds the font cache — your converted font is now available in all applications.
Limitation: One file at a time. No WOFF2 support. For anything more complex, see Option 2.
Option 2: fonttools — The Linux Command-Line Approach
fonttools is a Python library maintained by Google that's used by major type foundries. It handles everything from simple format conversion to full font engineering. Install it with pip:
# Install fonttools (and brotli for WOFF2 support) pip install fonttools brotli # Basic conversion: OTF to TTF fonttools convert input.otf output.ttf # TTF to WOFF fonttools convert input.ttf output.woff # TTF to WOFF2 (requires brotli) fonttools convert input.ttf output.woff2
For batch conversion of a directory:
for f in ~/fonts/*.otf; do
fonttools convert "$f" "${f%.otf}.ttf"
done
fonttools is also available in many Linux package managers: sudo apt install python3-fonttools on Debian/Ubuntu, or pip install fonttools everywhere else.
GNOME Font Viewer vs Browser-Based Font Metadata Viewer
GNOME Font Viewer (the default on GNOME desktops) shows a basic preview of a font and some minimal details. But it doesn't show the full metadata that font professionals care about: license text, embedding permissions, unicode range coverage, designer information, weight class.
The WildandFree Font Metadata Viewer shows all of this from your browser — without needing GNOME or KDE or any specific desktop environment. Works on any Linux setup (including minimal or tiling window manager setups) where you have a web browser.
Key metadata the GNOME Font Viewer doesn't show but the browser tool does:
- License text (name ID 13)
- License URL (name ID 14)
- Embedding permission flags (fsType)
- Glyph count
- Unicode ranges covered
- OS/2 weight class
Linux Font Conversion Quick Reference
| Task | Browser Tool | fonttools CLI |
|---|---|---|
| OTF → TTF | Yes | fonttools convert input.otf output.ttf |
| TTF → OTF | Yes | fonttools convert input.ttf output.otf |
| TTF → WOFF | Yes | fonttools convert input.ttf output.woff |
| WOFF → TTF | Yes | fonttools convert input.woff output.ttf |
| TTF → WOFF2 | No | fonttools convert input.ttf output.woff2 |
| Batch conversion | No (one file at a time) | Yes (shell loop) |
| Inspect font metadata | Browser viewer | fonttools ttx (XML dump) |
For one-off conversions, the browser tool is faster. For any automation or WOFF2 generation, fonttools is the right path on Linux.
Convert Fonts on Linux — No Install Required
Open in Firefox or Chromium — zero installation, files stay on your Linux machine, completely free.
Open Font ConverterFrequently Asked Questions
How do I install fonts on Linux after converting?
Copy the converted TTF or OTF file to ~/.fonts/ (user fonts) or /usr/share/fonts/ (system fonts). Then run fc-cache -fv to rebuild the font cache. The font is immediately available in all applications — no restart needed for most apps, though some (like LibreOffice) may need a restart to pick up new fonts.
Can I use GNOME Font Viewer to install converted fonts?
Yes. Open the converted TTF or OTF file in GNOME Font Viewer (double-click from Files/Nautilus) — it shows a preview and has an Install button. This is equivalent to copying to ~/.fonts/ and running fc-cache manually.
Does fonttools work on all Linux distributions?
Yes. fonttools is a pure Python library available via pip on any Linux distribution with Python 3. It's also packaged in the repositories of Debian/Ubuntu (python3-fonttools), Fedora (python3-fonttools), and Arch Linux (python-fonttools from AUR or community repos).

