How to Convert a base64 font to TTF or OTF

Converting base64 font back to ttf or otf

In this tutorial I will teach you how to convert base64 fonts to ttf, otf or woff files, it is very easy, you just have to follow the steps correctly. To convert from base64 to font, you only need base64 encoding, make sure it is an encoded font, example: copy the entire base 64 into a code editor or notepad, remove “data:font/woff2;charset=utf-8;base64,” (Don’t forget to delete the last comma of base64).

base64 woff decode
Font base 64

Now copy all the encoding and decode in download the .bin file from the bottom of the page.

decode base 64 font
Decode base64

The last step, now you need to convert the .bin file to the format you need, it can be ttf, otf or woff, convert to font from: you just need to select the .bin file and convert to font. The website will send you a compressed file where your font is located.

convert ttf
format: ttf, woff, woff2 and otf
how to convert encoded source to otf or ttf
Font files

Post updated

If you have problems converting a .bin file to a font file, you can use or you can find a site where you can convert bin to otf or ttf.

What is Base64?

Base64 is a method for encoding binary data into a string of ASCII characters, consisting of 64 characters (hence the name “Base64”). It is commonly used for transmitting data over the internet, particularly in email attachments and HTTP requests.

The encoding process takes every 3 bytes of binary data and represents them as 4 characters from the set of 64. This is done by dividing the 24 bits into 4 groups of 6 bits each, which can be represented as a character in the Base64 alphabet. If the input data is not evenly divisible by 3 bytes, padding characters (usually “=”) are added to make up the difference.

Base64 is useful because it can represent binary data using only printable ASCII characters, which can be transmitted through text-based protocols without corruption. Additionally, Base64 encoding is reversible, meaning that the original binary data can be recovered from the Base64-encoded string using a decoding algorithm.

Author avatar
Hello! I'm Marco Antonio, better known in the design world as Antonee. I'm passionate about exploring the universe of visual expression in all its forms. As a systems analyst, SEO manager, photographer, and graphic designer, I'm the founder of Gooova Studio, a space to showcase all of my work.

Leave a Reply

Your email address will not be published. Required fields are marked *