Outlined Text in GIMP - Add Strokes to Text

Four methods to add crisp, clean outlines to text in GIMP, from a 30-second single stroke to multi-layered double and triple outline designs.

Beginner–Intermediate ~15 min Updated May 2026
OUTLINE FILLED DOUBLE

Why Outlined Text?

Outlined text (sometimes called stroke text) is one of the most widely-used typographic effects in graphic design. It separates text from complex backgrounds, allows for hollow / knockout text, and enables layered multi-color stroke designs popular in sports graphics, meme templates, YouTube thumbnails, and poster design. These techniques work alongside selections to give you precise control over which areas are affected.

GIMP does not have a native "layer styles" panel like Photoshop's Stroke layer effect. However, GIMP provides at least four distinct workflows that produce equivalent or better results, with full control over color, width, and positioning of each stroke.

Before you start: For all methods, create your text at the size you intend to use. Stroke widths are absolute pixel values - Resizing the image after adding outlines will not scale the outlines proportionally unless all layers are scaled together.

Method 1: Alpha to Selection - Grow - Fill (Simplest)

This is the fastest outline method. It works by converting the text's transparent/opaque boundary into a selection, growing that selection outward by the desired stroke width, and filling the grown selection on a layer beneath the text.

  1. 1
    Create and flatten text: Text tool (T). Create your text. Right-click → Flatten Text Layer.
  2. 2
    Alpha to Selection: Right-click the text layer in the Layers panel → Alpha to Selection. The marching ants outline exactly the opaque pixels of the text.
  3. 3
    Grow the selection: Select → Grow. Enter the stroke width in pixels (e.g. 6 px for a medium outline). Click OK. The selection now extends 6 px beyond the edges of each letter.
  4. 4
    Create a new layer below the text: In the Layers panel, click "New Layer" with the text layer selected, then drag the new layer below the text layer.
  5. 5
    Fill with stroke color: Set the foreground color to your desired outline color. With the grown selection active and the new (outline) layer selected, use Edit → Fill with Foreground Color (Shift+Backspace) or the Bucket Fill tool.
  6. 6
    Deselect: Select → None (Shift+Ctrl+A). The filled area visible around the text is your outline.
Tip: If the outline corners look square rather than rounded, go to Select → Grow and ensure "Round corners" is checked. The result matches Photoshop's "Outside" stroke alignment.

Method 2: Script-Fu Stroke Path

This method converts the text into a vector path and strokes that path with a specified brush and size. It produces a cleaner, sub-pixel accurate outline and allows you to apply complex brush strokes (dotted, dashed, or textured lines) to text outlines.

  1. 1
    Create text (keep as live text layer - Do not flatten yet).
  2. 2
    Text to Path: Right-click the text layer → Text to Path (or Layer → Text to Path). This creates a vector path in the Paths panel (Windows → Dockable Dialogs → Paths) that precisely follows the font outlines.
  3. 3
    Create a new layer for the stroke: Create a new transparent layer and move it below the text layer.
  4. 4
    Stroke the path: In the Paths panel, right-click the text path → Stroke Path. In the dialog, select "Stroke with a paint tool". Choose "Paintbrush" and set line width to your desired stroke size (e.g. 8 px). Set the foreground color to the stroke color. Click Stroke.
  5. 5
    Note on stroke position: The path stroke is centered on the path boundary, meaning half the stroke falls inside the letter and half outside. To get an outer-only stroke, use a stroke width 2x the desired outer stroke and then crop the inner portion using the text's Alpha to Selection + Delete method.

Method 3: Layer Style Simulation (Duplicate and Grow)

A clean alternative that keeps the text layer editable: duplicate the text layer, apply a Grow + Fill operation to the duplicate, then place it behind the original. This means the original text layer is still a live Flatten-able layer that can be re-edited.

  1. 1
    Keep the text layer as a live text layer. Do not flatten yet.
  2. 2
    Duplicate the text layer: Right-click → Duplicate Layer. Move the duplicate below the original text layer.
  3. 3
    Flatten only the duplicate: Right-click the duplicate → Flatten Text Layer.
  4. 4
    Alpha to Selection on the duplicate, Grow, Fill: Follow steps 2–6 from Method 1 on the duplicate layer. Set the stroke color as required. The outline now appears on the duplicate layer, behind the live text.
  5. 5
    Edit the live text freely: Double-click the original (top) text layer to re-enter text editing mode and change the content, font, or color at any time. The outline layer does not update automatically - Repeat steps 2–4 to regenerate it after text changes.

Method 4: Multiple Outlines (Grow - Stroke - Grow - Stroke)

Stacking two or three outlines with different colors and widths creates the multi-stroke designs popular in sports typography, retro poster text, and YouTube thumbnail text. Each outline ring requires one more Grow+Fill cycle on a progressively larger selection.

  1. 1
    Create the first (inner) outline: Follow Method 1 steps. Create Outline Layer 1 with Grow 4 px, filled with white.
  2. 2
    Re-select the text alpha: Right-click the original text layer → Alpha to Selection.
  3. 3
    Grow to the full outer width: Select → Grow. This time enter the total of all stroke widths: e.g. 4 + 6 = 10 px for a 4 px inner outline and 6 px outer outline.
  4. 4
    Create Outline Layer 2: Create a new layer below Outline Layer 1. Fill the grown selection with the second outline color (e.g. black). Only the ring between 4 px and 10 px from the letter edge is visible because Outline Layer 1 (white) covers the inner 4 px.
  5. 5
    Repeat for third outline: Grow to 10 + next stroke width (e.g. 16 px total), create another layer below, fill with the third color.

Outline Methods Comparison

Method Result Quality Steps Required Editable Multiple Outlines
Alpha to Selection + Grow + Fill Good 6 No Yes (repeat)
Script-Fu Stroke Path Excellent 5 Partial Yes (repeat)
Duplicate + Flatten + Grow Good 5 Yes Yes
Cumulative Grow Stacking Excellent 6 per ring No Yes (built-in)

Steps Required Per Outline Method

Outlined Text on Complex Backgrounds Using Layer Mask

When text sits over a busy photograph or gradient, a solid-color outline layer may still clash with parts of the background. Using a layer mask on the outline layer lets you fade or remove the outline selectively.

  1. 1
    Create the outline layer using Method 1 or 3.
  2. 2
    Add a layer mask: Right-click the outline layer → Add Layer Mask. Initialize: White (full reveal).
  3. 3
    Paint black on the mask: Select the mask thumbnail (not the layer). Use a soft black brush to paint over any areas of the outline that are visually cluttered. The outline disappears in those areas while remaining visible elsewhere.

Hollow / Knockout Text

Hollow text shows only the outline stroke with the fill area made transparent, revealing whatever is behind the text. This is effective for watermarks, overlay graphics, and magazine-style text.

  1. 1
    Create the text and its outline layer using Method 1.
  2. 2
    Alpha to Selection on the text layer.
  3. 3
    Select the outline layer: Click the outline layer in the Layers panel while keeping the selection active.
  4. 4
    Delete the interior: Press Delete. The interior of each letter (within the original text selection) is now transparent on the outline layer. Only the grown outer ring remains filled. Delete or hide the original text layer.

Combining Outline with Fill

For maximum impact, combine a gradient or pattern fill in the text with one or more contrasting outline rings. The general layer order from top to bottom is:

  • Highlight streak layer (Screen, 40% opacity) - Optional specular shimmer
  • Text fill layer (gradient or solid)
  • Outline Layer 1 (inner stroke, lighter color)
  • Outline Layer 2 (outer stroke, darker/contrasting color)
  • Drop shadow
  • Background

Group all text-related layers (select all → right-click → Group Layers) to manage opacity and blend mode at a group level - Learn more about layer groups in GIMP. Apply effects to the group rather than individual layers where possible.

Exporting with Transparency

  • Export as PNG to preserve the alpha channel (transparent background). File → Export As → filename.png. Uncheck "Flatten image" in the export dialog to keep transparency.
  • If you want just the outlined text (no background) to place in another application, hide the background layer before exporting to PNG.
  • For vector applications (Inkscape, Illustrator), export paths via File → Export → SVG. GIMP's SVG export is limited but preserves live text paths. Alternatively, use "Text to Path" and export the paths layer.
  • JPEG does not support transparency. Use JPEG only when the final composition includes a full background.