Skip to content

Line Break Generator

To keep paragraph gaps in a social post, type a blank line between paragraphs, choose Plain line breaks or Keep gaps, and copy the result. Keep gaps puts one invisible character on each blank line for fields that trim empty lines. Pick a platform to see its documented length, then preview the post before you publish.

Enter text above to see the result with your line breaks.

“Keep gaps” puts an invisible character on blank lines. A field that trims empty lines may then keep the spacing, but this is not guaranteed.

Instagram caption (api): 0 of 2,200 characters in this tool's count. Counts UTF-16 units, so Instagram can count differently.

By Repping.AI Team. Last updated

Sample result

Input (blank lines trimmed on paste)
Launch day is here

Three new templates
One free trial


Link in bio
Plain line breaks
Launch day is here

Three new templates
One free trial

Link in bio
Keep gaps (invisible spacers)
Launch day is here
␣
Three new templates
One free trial
␣
Link in bio

The symbol ␣ marks each invisible zero-width space. In the real output it has no width.

How do I add line breaks to a social media post?

Type your text with a blank line between paragraphs, pick the platform, choose Plain line breaks or Keep gaps, and copy the result. Plain breaks leave one clean blank line between paragraphs. Keep gaps puts an invisible character on each blank line. Preview the post where you publish, because each platform decides the final spacing.

  1. Write short paragraphs with one blank line between them.
  2. Choose the platform from the selector to see its documented length.
  3. Choose Plain line breaks first, and copy the result.
  4. Paste it into the composer and preview. If the gap vanished, use Keep gaps and paste again.
A 68-character draft run through both outputs (counted 2026-11-21). The input is “Launch day is here”, a blank line, “Three new templates”, “One free trial”, two blank lines and “Link in bio”
OutputLinesEmpty linesCode pointsUTF-8 bytes
Draft as typed736868
Plain line breaks626767
Keep gaps (invisible spacers)606973

Should I use plain line breaks or invisible spacers?

Start with plain line breaks. They add no hidden characters and keep your count exact. Use Keep gaps only if a gap vanishes when you paste. It puts a zero-width space on each blank line, so the line is no longer empty. The space is invisible but it still counts toward the length.

The trade is a few extra characters for a gap that is more likely to survive. In the table above, Keep gaps turns the 67-character plain output into 69 code points, because each of the two spacers is one character. In UTF-8 bytes the gap is wider: each zero-width space (U+200B) is 3 bytes, so the output grows from 67 to 73. That matters only where a platform counts bytes. The Threads API reference says text posts are limited to 500 characters and that emojis are counted as the number of UTF-8 bytes, and Bluesky's post record sets a limit of 300 graphemes and a maxLength of 3000. Neither page says how it counts a zero-width space or a line break. We did not test spacers on any platform, so use Plain line breaks wherever the gap survives.

Do line breaks count toward a platform's character limit?

In this tool, yes: a line break is 1 character and each invisible spacer adds another. X says most characters count as 1 and some as 2, and Threads counts emoji by UTF-8 bytes, but neither page names the line break, so we state no platform rule. Read the counter in the composer after you paste.

Documented text limits and what each source says about counting (all read 2026-11-21)
PlatformDocumented limitWhat the source says about counting
X280 charactersMost characters count as 1, but some count as 2
Threads500 charactersEmojis are counted as the number of UTF-8 bytes
Bluesky300 graphemesAlso a maxLength of 3000
Mastodon500 charactersDescribed as the default, so a server can differ
Instagram, LinkedIn2,200 and 3,000 charactersNo counting rule found
Facebook, TikTokNot documentedNo official number found

Why do my line breaks disappear when I paste?

Some composers and scheduling fields trim empty lines or collapse repeated returns on paste, and we found no platform page that documents which ones. The cause may also be the app you copied from. Paste a short test with two paragraphs, preview it, then switch to Keep gaps if the gap is gone.

We did not test each app, and behavior can change with an app version, so we do not publish a list. Work through it in order: paste a two-paragraph test, check whether the gap shows in the preview, then repeat with Keep gaps. If the gap shows only in one place, such as the editor but not the saved post, the field is trimming spacing when it saves. Shorter paragraphs without blank lines are the fallback. Keep gaps swaps each empty line for one zero-width space (U+200B), a character that is invisible but present, so a field that trims only truly empty lines has something to keep. In our count that is 1 code point and 3 UTF-8 bytes per gap, and we have not tested whether any field strips it too. Repping.AI can schedule posts for supported platforms. Open the saved draft in its composer before the publish time and compare it with this tool's output.

Is this different from the Facebook line breaker?

Yes. The Facebook line breaker is a Facebook-only page with its own sample and a Facebook walkthrough. This page covers the other platforms in the selector, shows each one's documented length and compares plain breaks with spacers in characters and bytes. Use the post formatter instead if you also want Unicode bold or italic.

Both pages run the same two outputs in your browser, so Keep gaps here matches Keep gaps there. The difference is the job. The Facebook page walks through Facebook only and states no length because we found none. This page is the cross-platform reference.

What can this line break generator not do?

It cannot make a platform keep your spacing, tell you how a platform counts a line break, or add real formatting such as lists or headings. It does not connect to an account, publish anything or use AI or credits. It changes only the blank lines between your paragraphs.

Your words, emoji and links stay as typed. A screen reader may skip or announce the invisible spacer, and we have not tested screen readers, so choose Plain line breaks when accessibility matters most. The Share link, if you use it, puts the text you typed into the link itself.

What did we check for this page, and what did we not?

On 2026-11-21 we read X's counting page, the Threads posts reference, Bluesky's post record and Mastodon's posting page, and ran one sample draft through both outputs in this tool. We did not paste anything into a platform or test a screen reader.

Sources, all read 2026-11-21: X developer docs, Counting characters; Meta for Developers, Threads API Posts; Bluesky app.bsky.feed.post lexicon; Mastodon documentation, Posting; Meta for Developers, IG User Media; LinkedIn Help, Post and share updates. Counted by us on 2026-11-21: the 68-character sample, which is 67 code points and 67 bytes with Plain line breaks and 69 code points and 73 bytes with Keep gaps. Not checked: how any composer, app or scheduler treats the spacer, how any platform counts a line break, and the Facebook and TikTok limits.

How to use this tool

  1. Pick the platform you will paste into.
  2. Type your text with a blank line between paragraphs.
  3. Choose Keep gaps or Plain line breaks, copy the result and preview it.

Example

Type four short lines with extra blank lines between them. Plain line breaks collapses the extra blanks into one gap. Keep gaps adds an invisible zero-width space on each blank line, so a field that trims empty lines keeps the gap.

What the result means

Keep gaps adds characters that count toward the limit and that a screen reader may skip. Each platform controls the final spacing, and some fields still trim it. This tool does not connect to your account or publish.

Where to go next

Sources

Text limits by platform

One row per platform. A number appears only when the platform's own documentation states it. A dash means we found no official number.

Text limits by platform
PlatformText limitCounting notesOwn page
Instagram2,200 characters
Caption (API)
Instagram's in-app help does not state a caption limit, so this is the Graph API limit.This page
Facebook—No official counting rule found. Read the live counter in the composer.Facebook line break page
LinkedIn3,000 characters
Post text
No official counting rule found. Read the live counter in the composer.This page
X (Twitter)280 characters
Post text
X documents that most characters count as 1 and some count as 2, naming emoji and CJK. It does not name styled letters in the text we saved, so read the live counter. X developer docs: Counting characters, read .This page
Threads500 characters
Text post
Meta: Threads API, Posts, read
Threads measures emoji by UTF-8 byte size, so one emoji uses more than one character. A post can hold at most 5 links.This page
Pinterest800 characters
Pin description
Pinterest says descriptions do not show in the home feed or search feed.This page
Telegram4,096 characters
Text message
Counted after formatting entities are parsed. Lower bound is 1 character.This page
Bluesky300 graphemes
Post text
A grapheme is one visible character, so one emoji counts as 1. The same record also caps the text at 3,000 bytes.This page
Mastodon500 characters
Post (default)
The documentation calls 500 the default, so your server can differ.This page
YouTube5,000 characters
Video description
No official counting rule found. Read the live counter in the composer.This page
TikTok—No official counting rule found. Read the live counter in the composer.This page

Frequently asked questions

What does an invisible spacer do?

It puts one zero-width space (U+200B) on each blank line, so the line holds a character and a field that trims empty lines may keep the gap. It has no width, but it counts as 1 character here and 3 UTF-8 bytes. In the sample on this page it adds 2 characters and 6 bytes.

When should I use plain line breaks instead?

Start with plain breaks. They leave one clean blank line between paragraphs and add no hidden characters, which keeps exact character budgets and screen-reader output simple. Switch to Keep gaps only if you paste a draft and the gap disappears in the field you use.

Do line breaks count toward a platform's limit?

In this tool, yes: a line break is 1 character and each spacer adds another. None of the platform pages we read says how it counts a line break, so check the counter in the composer. The table on this page shows the documented limits and the date we read them.

Why is there a separate Facebook line break page?

Facebook holds the most searches, so it keeps its own page with a Facebook-only walkthrough. We found no Facebook post length, so that page states no number. Every other platform uses this page and its selector.

Why do my pasted line breaks vanish?

Some composers and scheduling fields trim empty lines or collapse repeated returns on paste. We found no platform page that documents which ones, and we have not tested them. Paste a short test, preview it, then publish the full post.

Does this tool save or post my text?

No. It runs in your browser, does not connect to an account and publishes nothing. The Share link, if you use it, puts the text you typed into the link itself, so share only text you are happy to show.

Create a free Repping.AI account