Rich text formatting introduced in 0.17.0 allows the use of tags within most of the game's textboxes to change the visual formatting of text or to embed interactable images/entities. Predefined text tags are employed for this purpose.
Text modifiers
The color and font of text can be changed
| Syntax
 | 
Example Input
 | 
Example Result
 | 
Description
 | 
[color=rgb]...[/color]
 | 
[color=red]Red[/color] text
[color=1,0,0]Red[/color] text
 
 | 
Red text
 | 
rgb is a comma separated RGB color ranging from 0 to 1, or an English color name
 | 
[font=font-name]...[/font]
 | 
[font=default-bold]Bold text
 | 
Bold text
 | 
font-name is the name of the factorio font to render
 | 
Tags
Tags are useful for sharing blueprints, marking map locations in chat or adding icons to map markers and train stations.
Ctrl+alt clicking the map or ground will automatically insert a gps tag and post it into chat.
Shift clicking most things with the console open will insert a tag for that thing into chat.
| Syntax
 | 
Example Input
 | 
Example Result
 | 
Description
 | 
[img=class/name]
[img=class.name]
 
 | 
[img=item/iron-plate]
 | 
 
 | 
Embeds only a small inline game graphic. The slash may be substituted for a period in save names.
 class is any of: item, entity, technology, recipe, item-group, fluid, tile, virtual-signal or achievement
name: see below
 
 | 
[item=name]
 | 
[item=iron-plate]
 | 
 
 | 
name is the internal-name of the item
 | 
[entity=name]
 | 
[entity=small-biter]
 | 
 
 | 
name is the internal-name of the entity
 | 
[technology=name]
 | 
[technology=logistics]
 | 
 
 | 
name is the internal-name of the technology
 | 
[recipe=name]
 | 
[recipe=basic-oil-processing]
 | 
 
 | 
name is the internal-name of the recipe, usually the entity name
 | 
[item-group=name]
 | 
[item-group=combat]
 | 
 
 | 
name is any of: logistics, production, intermediate-products, combat, fluids or signals
 | 
[fluid=name]
 | 
[fluid=water]
 | 
 
 | 
name is the internal name of the fluid
 | 
[tile=name]
 | 
[tile=grass-3]
 | 
 
 | 
name is the internal name of the tile, usually the lowercase name with hyphens replacing spaces as written from the map editor
 | 
[virtual-signal=name]
 | 
[virtual-signal=signal-A]
 | 
 
 | 
name is the word signal followed by either an uppercase letter, number, color, each, everything or anything
 | 
[achievement=name]
 | 
[achievement=minions]
 | 
 
 | 
name is the internal-name of the achievement, usually the lowercase name with hyphens replacing spaces
 | 
[gps=x,y]
 | 
map origin: [gps=0,0]
 | 
map origin:  
 | 
Embeds a map location and marks the location on the map of other players.
 x is the x point coordinate
y is the y point coordinate 
 
 | 
[special-item=blueprint_string]
 | 
 | 
 | 
Embeds a blueprint. Other players can get a blueprint item by clicking the icon
 blueprint_string is the blueprint string of a blueprint, deconstruction planner or upgrade planners
 
 | 
[armor=player]
 | 
[armor=Bilka]
 | 
 | 
Embeds the armor of a player. Allows other players to see the equipment installed.
 player is the name of the player
 
 | 
[train=number]
 | 
[train=93]
 | 
 | 
Embeds a reference to a train. Clicking the icon will open the train GUI for that train.
 number is the ingame number of the train
 
 | 
[train-stop=number]
 | 
[train-stop=100]
 | 
 | 
Embeds a reference to a train stop. Clicking the icon will open the GUI for that train stop.
 number is the ingame number of the train
 
 |