A non‑printing character (also called a hidden or invisible character) is a typographic or formatting element that occupies a position in a document’s underlying data stream but does not produce a visible glyph on the printed page or screen output. In word‑processing software, these characters are used to represent structural and formatting information such as whitespace, line breaks, paragraph boundaries, and other control symbols.
Common Types
| Character | Symbol (often shown in UI) | Function |
|---|---|---|
| Space | · (dot) or ¶ (when shown) | Separates words without visible width |
| Tab | → or ↹ | Moves cursor to the next tab stop |
| Non‑breaking space | ‡ or a special symbol | Prevents automatic line wrapping |
| Paragraph mark (end‑of‑paragraph) | ¶ | Indicates the end of a paragraph and the start of a new line |
| Line break (soft return) | ↵ | Forces a line break without ending the paragraph |
| Section break | § | Divides a document into sections for separate formatting |
| Page break | ⎔ | Signals the start of a new page |
| Zero‑width space | (usually invisible) | Allows line breaking at specific points without visible space |
| Hidden formatting mark | (often displayed as a dotted box) | Represents hidden formatting such as word‑wrap, hidden text, or hidden field codes |
Purpose and Usage
- Document Structure – Non‑printing characters delineate logical structures (paragraphs, sections, pages) that affect layout and navigation.
- Formatting Control – They allow precise control of spacing, indentation, and alignment without inserting visible symbols.
- Debugging and Editing – Many word processors offer a “Show/Hide” or “Reveal Formatting” mode that displays these characters, helping users detect unwanted spaces, extra paragraph marks, or mismatched tabs.
- Data Interchange – When exporting to plain‑text or markup formats (e.g., HTML, LaTeX), non‑printing characters are often converted to explicit markup tags or whitespace characters.
Implementation in Popular Word Processors
- Microsoft Word – Displays hidden characters when the “¶ Show/Hide” button is activated. Paragraph marks, spaces, and tab symbols appear as described above.
- LibreOffice Writer – Uses a similar “Show Non‑Printing Characters” option, rendering the same set of symbols.
- Google Docs – Provides a “Show non‑printing characters” toggle that reveals paragraph ends and line breaks; spaces and tabs are not explicitly shown but can be identified via cursor movement.
- Apple Pages – Offers a “Show Invisibles” option to render spaces, tabs, and paragraph markers.
Accessibility and Compatibility
Because non‑printing characters affect layout but not visual content, they are generally ignored by screen readers unless they convey meaningful structure (e.g., a line break). However, excessive or unintended non‑printing characters can lead to formatting inconsistencies when a document is opened in a different word‑processing application, particularly if the target program interprets line‑ending conventions differently (e.g., Windows CR‑LF vs. Unix LF).
Related Concepts
- Control characters – ASCII codes 0–31 (e.g., BEL, ESC) that serve control functions in text streams but are not rendered as glyphs.
- Whitespace characters – A broader category that includes spaces, tabs, line feeds, and carriage returns.
- Formatting marks – Visual indicators used by editors to represent hidden formatting.
References
- Microsoft Support: “Show or hide formatting symbols” (official documentation).
- LibreOffice Documentation: “Non‑printing characters” (user guide).
- Unicode Standard, Chapter 2: “General Category” (defines space, non‑breaking space, zero‑width space, etc.).
This entry reflects commonly documented features of modern word‑processing software.