Do Spaces and Line Breaks Count?
- Counting with and without
- Follow the recipient
- If unsure, check the stricter one
Even for the same text, the character count changes with how you count. Character Counter (for Applications and Reports) shows two: "including line breaks and spaces" and "excluding". Knowing the difference keeps you from being confused by character limits.
The two ways of counting
- Characters (including line breaks and spaces): all characters in the input box. Line breaks (Enter) and spaces each count as one.
- Characters (excluding line breaks and spaces): line breaks and spaces are not counted. Visible characters only.
Steps
- Paste the text in the "Text" field.
- Compare the "including" and "excluding" figures.
- Judge by the figure that matches the destination's specification.
Which to use
- Web input boxes such as application forms: many count line breaks and spaces as one. Look at "including".
- The specification says "excluding spaces and line breaks": look at "excluding".
- No specification: make sure both are within the limit.
Texts where the difference shows
- Many paragraphs (many line breaks)
- Many bullet points
- English and Japanese mixed (many spaces)
- Full-width spaces used for indentation
Target character count
"Target character count (excluding spaces and line breaks)" is compared using the "excluding" count.
Counting line breaks
Depending on the system, a line break may count as one or two characters. Some web forms count it as two. When right at the limit, leave some margin.
Example
A form limited to 300 characters, with a text of three paragraphs: 295 "excluding", 303 "including". → If the form counts "including", it is over. Adjusted by reducing line breaks.
Common stumbling blocks
- It does not match the form's display: a difference in counting line breaks. Leave margin.
- Many spaces for indentation: full-width spaces count too.
- Pasting adds extra spaces: check after pasting.
Frequently asked questions
Does removing all spaces reduce the count?
The "including" count goes down. But keep line breaks that aid readability.
Summary
Use "including" and "excluding" to match the destination's way of counting.
Use "Character Counter (for Applications and Reports)" (free)Tools that go well with this
- Remove and Tidy Line Breaks in Text: Tidy line breaks in text copied from PDFs and elsewhere.
- Convert Full-Width, Half-Width, Hiragana and Katakana: Convert full-width/half-width and hiragana/katakana.
- Extract Text from PDF: Pull the text out of a PDF to copy or save.