By the Dropship Stair team. Last reviewed: November 2026.
Key takeaways
- A custom font on Shopify is a font you upload to your theme or pick from the font library, instead of using the theme default.
- Google Fonts work through the theme font picker, so you can use them without uploading any files.
- An uploaded font needs a license. Using a font you have no right to use can create legal trouble.
- Two fonts are enough for most stores. Every extra font adds weight that can slow the page down.
Learning how to add a custom font to shopify? Pick a readable font you have the right to use. Upload the WOFF2 files. Add a few lines of CSS. Apply it to headings and body text. Then test it on mobile. Simple enough.
What is a custom font on Shopify?
A custom font is any typeface you choose yourself instead of the default that came with your theme. A free font from Google Fonts. A font you bought with a commercial license. A font from a library your theme already supports. Once it is set up, it shows across your store in headings, body text, buttons, and menus. It becomes part of how buyers remember your brand.
Most stores never need more than the font library built into their theme. So why go custom? Simple. Your store should not look like every other store using the same theme. A distinct font gives the brand a voice before a buyer reads a single word. One catch, though: the font has to read well on a phone screen. That is where most of your buyers will see it.
How to add a custom font to Shopify: the 7 steps
Seven steps, in order. The first two are decisions. The next three are the technical work. The last two are the checks that keep the store fast and readable.
Step 1: Pick a readable font and check its license
Start with the job the font has to do. A heading font can be bold and full of character. The body font? It has to stay readable at small sizes on a phone. Test the font at 14 to 16 pixels, which is the size most body text runs at, and read a full paragraph in it before you commit. Then check the license. A font is software, and the right to use it on a store comes from its license, not from the download. Free fonts still carry terms. Paid fonts usually charge per use or per site. Read the license and confirm it covers commercial use on a website. Never use a font you have no license for. The risk is not worth the look.
Step 2: Download the font files in WOFF2 where available
Picked the font? Download the files in WOFF2 format where the source offers it. WOFF2 is the smallest modern web font format, so it loads faster than older formats and keeps the page light. No WOFF2 available? WOFF is the next best choice. Download only the weights and styles you plan to use, such as regular and bold. Why? Every extra file adds weight to the page. A font family can ship with a dozen weights, and uploading all of them slows a store down for no visible gain.
Step 3: Upload the files to Settings > Files or the theme assets
Two places to put the font files, and either works. The simple route: Settings, then Files, where you upload the WOFF2 files and copy the link Shopify gives each one. The other route: the theme code editor, where you upload the files into the Assets folder of your theme. What is the difference? The Files route keeps the fonts outside the theme, so they survive a theme change. The Assets route ties them to the theme you are editing. Pick one route and stick with it. Our guide to how to change a Shopify theme explains what survives a theme switch and what does not.
Step 4: Add @font-face rules in the theme CSS
Shopify needs to know where the font file lives and what to call it. That is what the @font-face rule does. Open the theme code editor, find the main CSS file, and add a short block for each font file. The block names the font, points at the file URL you copied, and states the weight and style, such as 400 for regular and 700 for bold. Files route? Paste the full Shopify file link into the rule. Assets route? Use the asset URL form the theme expects. Save. Check the store still loads before you move on.
Step 5: Apply the font through theme settings or CSS to headings and body
Font loaded. Now tell the theme where to use it. Some themes let you pick a custom font in the theme settings under Typography. If yours does, use that first. It is the safest route. If your theme does not offer it, add a few lines of CSS that set the font family on headings and body text. Use the custom font for headings and one clean font for body text, or use the same family in two weights. Two fonts are enough for most stores. Want ideas for pairing fonts with the rest of the design? Read our Shopify store design ideas.
Step 6: Test readability on mobile and desktop
Open the store on a real phone and on a desktop, and read it the way a buyer would. Check the headings at every size. The product descriptions. The checkout buttons. The footer. Look for text that is too light, too tight, or too small to read without zooming. Pay attention to long product names and sale banners, because a display font that looks great in a short heading can fall apart in a long line. If any text is hard to read, change the size or weight first. The font is rarely the real problem.
Step 7: Keep a system-font fallback and check page speed
Last step: the safety net. Add a fallback stack after your custom font in the CSS, such as a common system font, so the store still looks right if the font file fails to load. Then run a page speed check and compare it with the result from before the change. A small slowdown is normal. A large one means you uploaded too many weights or a file that is too large. Remove what you do not need, keep the fallback in place, and retest. A store that loads fast with a good fallback beats a store with a perfect font that arrives late.
Should you use Google Fonts or upload a font file?
Google Fonts is the easy path. Uploading a font file is the flexible path. Google Fonts are free, load from a fast network, and need no code, because you pick them in the theme font picker. An uploaded font gives you any typeface you have licensed, including a brand font or a paid font no library carries. The trade? Control against effort. Google Fonts take minutes. An uploaded font takes setup and adds files to your store.
| Method | How it works | Cost | Best for | Watch out for |
|---|---|---|---|---|
| Google Fonts via theme picker | Pick from the theme font library | Free | Most stores, fast setup | Limited to the Google catalog |
| Uploaded licensed font | Upload WOFF2 files and add CSS | Font license cost | Brand fonts, paid fonts | Needs code, adds page weight |
| System fonts only | Use fonts already on the device | Free | Fastest load, simple look | No distinct brand feel |
Pick Google Fonts if you want a better look with no code and no cost. The catalog covers most stores. Upload a font file only when you need a specific typeface your brand already uses or a paid font the library does not carry. Either way, keep it to two fonts and test the speed after the change.
What mistakes should you avoid when you add a custom font to Shopify?
Mistake one: too many fonts. Three or four typefaces on one page fight each other, and each one adds files that slow the store down. Pick one font for headings and one for body text, then stop. Mistake two: skipping the license check. A font found on a free download site may still need a paid license for commercial use. Read the license before you upload anything.
Mistake three: forgetting the fallback. Without a system font in the stack, a failed font file leaves the browser guessing, and the store can render in a default that breaks the layout. Mistake four: testing only on desktop. Most buyers shop on phones, so a font that reads well on a wide screen can still fail on a small one. Test on both, and check the speed after every change. For a theme that makes typography easy from the start, see our roundup of the best free Shopify themes.
Frequently asked questions
Can I add a custom font to Shopify for free?
Yes, if you use Google Fonts through the theme font picker. It costs nothing, and needs no upload. Uploading your own font is also free inside Shopify, but the font itself may cost money. Check the license before you buy or download it for commercial use.
What font format should I upload to Shopify?
Use WOFF2 whenever you can. It is the smallest modern format, and it loads fastest. WOFF works as a backup for older browsers. Avoid TTF and OTF files on a live store. They are larger, and they slow the page down for no visible benefit.
Do I need to edit code to add a custom font to Shopify?
It depends on the method. Google Fonts need no code, because you pick them in the theme editor. An uploaded font needs a few lines of CSS. Not comfortable editing theme code? Ask a developer, or use a store design service. Either way works.
Will a custom font slow down my Shopify store?
It can, but only if you overdo it. Each font file adds weight, and each extra weight or style adds another file. Keep it to two fonts, and only the weights you actually use. Prefer WOFF2. Test the page speed before and after the change.
Can I use any font I download from the internet?
No. A font is software with a license, and downloading it does not give you the right to use it on a store. Free fonts still carry terms. Read the license, and check that it covers commercial use. When in doubt, pick a font with a clear open license.
Learning how to add a custom font to Shopify comes down to three choices: a readable font, a license that covers your store, and a setup that stays fast. Pick the font, upload the WOFF2 files, add the CSS, and test it on a phone before you call it done. A store with a clear, distinct typeface feels like a real brand. If you want the typography fitted into a full store design, our Shopify store design services can help.
Sources: Shopify Help Center, theme typography and font settings, checked November 2026; Google Fonts, checked November 2026; the Dropship Stair guides linked in this article.