Font to Base64 CSS Converter

Convert your font files (.woff, .ttf, .woff2, .otf) to base64-encoded CSS for use with Obsidian

CSS Output Options

How to use:

  1. Select one or more font files (.woff, .ttf, .woff2, .otf)
  2. Choose your preferred CSS output format
  3. Click "Convert to CSS" to generate the base64-encoded CSS
  4. Copy the generated CSS or download it as a file
  5. Use the CSS in your Obsidian vault as a CSS snippet

For Obsidian:

Save the generated CSS as a .css file in your vault's .obsidian/snippets/ folder, then enable it in Obsidian's Appearance settings.