This simple tool converts .woff2 font files to Base64 strings to include directly in your CSS files. To use it, click the "Choose File" button and select a font from your computer. You can then copy/paste the code below into your CSS file.
Current Font: *None*
Notes
- Woff2Base now converts .ttf and .woff, too.
- If you just want the raw Base64 string, and not the CSS, you can view it in (and copy it from) your browser console.
- View this project on GitHub.
- This tool uses fontkit to parse font names.
- This project was created by me, Greg Gibson, because some of the other converters out there introduced minor errors when converting.