Driver FixRecommendedSound, Wi-Fi or graphics acting up? Check drivers firstFind missing or outdated drivers fast.Check DriversOctober DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsSlow PC?RecommendedPC slow today? Run a repair scan before it gets worseResolve common Windows issues and optimize system performance.Scan Now×
Skip to content
World desk2 min

Python Turtle Font: Change Font, Size and Style (and List Available Fonts)

Use Turtle’s three-part font tuple to format written text, then query Tkinter to see font families available on the current display.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Set Turtle text formatting in the font argument to turtle.write(): use a three-item tuple in the form (font family, size, style). For example, font=("Arial", 16, "bold") writes bold 16-point Arial text. To find font families available on your computer, ask Tkinter for the families installed for the current Tk display; there is no single font list shared by every system.

Change the font, size, and style with turtle.write()

Pass the font as a tuple of three values: font family, font size, and font type. The Python 3.12 Turtle documentation gives the default as ('Arial', 8, 'normal').

As an Amazon Associate I earn from qualifying purchases.

import turtle

turtle.write("Hello, Turtle!", font=("Arial", 16, "bold"))
turtle.done()

Replace the tuple values to choose another family, size, or style:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
turtle.write("A different look", font=("Times", 20, "italic"))

The examples use the documented three-item interface. Tkinter supports additional font attributes such as underline and overstrike, but Turtle documents write()‘s font argument as a triple; do not assume you can pass every Tk font attribute directly through that tuple.

Choose alignment and whether the pen moves

Alignment and pen movement are separate write() arguments, not part of the font tuple. align accepts "left", "center", or "right". Set move=True if you want Turtle to move the pen to the bottom-right corner of the written text.

turtle.write(
    "Centered title",
    align="center",
    font=("Arial", 18, "bold"),
    move=False,
)

List the font families available to your Tk display

Font availability depends on the fonts installed and the current display environment. This standalone Tkinter example prints the family names available to that display:

import tkinter as tk
from tkinter import font

root = tk.Tk()
print(font.families(root))
root.destroy()

tkinter.font.families() returns the available family names; it does not provide a universal list that will match every computer. A family you see on one machine may not be available on another.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Understand font size and platform differences

In Tkinter, a positive font size is measured in points. A negative size is interpreted by its absolute value in pixels. For example, 16 requests 16 points, while -16 requests a size of 16 pixels. The Tkinter font documentation describes these size rules.

A requested family or style may not render exactly as specified on every platform. Tkinter’s actual() documentation notes that resolved attributes can differ because of platform limitations. Try the result on the computer where the Turtle program will run rather than treating the requested font tuple as a guarantee of identical appearance.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Check that your Python installation supports Turtle

Turtle uses Tkinter, so it requires a Python installation with Tk support. If importing Turtle fails because _tkinter is unavailable, the Python distribution or environment may need a provider-supported Tk solution; the Turtle documentation describes this requirement.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Leave a Reply

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

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
Windows Errors? Fix Them Before They SpreadFree repair scan
Crashes, No Sound, or Screen Glitches?Free driver scan

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.