Text and labels in draw.io
It's easy to work with labels and text in draw.io.
- Add labels: Select a shape or connector and start typing to add or replace a label. Double click on text to select it, then use the cursor keys or mouse to edit part of that text.
- Add line breaks: Hold down
ShiftorAltand pressEnterwhile editing a label to add a line break. - Align and position labels: Use the tools in the Text tab of the format panel to align text inside the shape and reposition labels.
- Change the writing direction: Use vertical text or right-to-left text to rotate labels and use Asian or Arabic languages.
- Style text: Change fonts, styles, colours and size via the Text tab of the format panel. Edit part of the label to use superscript or subscript.
- Use external fonts: draw.io supports Google fonts, your own system or custom fonts, as well as custom fonts available publicly on the web.
Do more with text and labels
- Add emoji to labels and tooltips.
- Add maths equations to labels with math typesetting.
- Convert formatted and word-wrapped labels to SVG if you experience format display issues.