Hashtag Counter & Instagram Caption Formatter
Paste your caption: the counter checks Instagram’s limits (30 hashtags, 20 @ tags, 2,200 characters), flags duplicate hashtags and gives you a tidy version to copy.
How it is calculated
The hashtag counter reads your caption right in your browser. A hashtag is a “#” followed by letters (including é, ñ or non-Latin scripts), digits and underscores – a hyphen, full stop or space ends it. A “#” directly after a letter (as in “C#”) is not a hashtag. A mention is an “@” followed by a username made of letters, digits, full stops and underscores; email addresses are not counted.
Instagram’s limits
Meta’s Instagram Graph API documentation allows a post caption of at most 2,200 characters, 30 hashtags and 20 @ tags. Hashtags are not case-sensitive: #Holiday and #holiday are the same tag, so the counter flags them as duplicates. Characters are counted as Unicode code points; emoji built from several parts (skin tones, families, flags) can take up more than one character.
What the formatter does
- Hashtags to the end: it moves hashtag blocks – hashtags at the end of a line and lines made only of hashtags. A hashtag inside a sentence (“I love #coffee in the morning”) stays put, otherwise the sentence would break.
- Remove duplicates: the first occurrence stays, later repeats are dropped.
- Lowercase: optional, for a consistent look. It makes no difference to search, but #CamelCase is easier for screen readers to read out.
- Paragraphs: blank lines are kept, several in a row become one, and trailing spaces are removed.
Line breaks with a dot or an invisible character
Some apps and input methods strip empty lines, so your caption ends up as one block. A common workaround is to fill each blank line with a character: a visible dot “.” or the Unicode character U+2800 (Braille pattern blank), which looks like a space but does not count as whitespace. Either one counts as one character. The dot is the safer choice, as screen readers may announce U+2800 as a Braille character.
Frequently asked questions
How many hashtags does Instagram allow?
According to Meta’s Instagram Graph API documentation, up to 30 hashtags per post, plus 20 @ tags and 2,200 characters. If the app shows you a stricter limit, enter it above as the hashtag limit.
Do #Holiday and #holiday count as duplicates?
Yes. Hashtags are not case-sensitive, so the counter treats both as the same tag and the formatter keeps only the first one.
Why does a hashtag inside a sentence stay where it is?
Because it is part of the sentence. Only hashtags at the end of a line and hashtag-only lines are moved, so your text stays readable.
Is my text stored anywhere?
No. Everything runs in your browser; your text is not sent anywhere and not added to the address bar.
What is the invisible character?
The Unicode character U+2800 (Braille pattern blank). It looks empty but is not stripped as whitespace, so it keeps the gap between paragraphs. It counts as one character.
Sources and legal basis
- caption: 2200 / 30 # / 20 @: Meta for Developers – Instagram Graph API, IG User Media (Parameter caption)
- Unicode Standard – Code Chart Braille Patterns (U+2800)
As of:
Related tools
- Character Counter and Word CounterCount characters with and without spaces, words, sentences, paragraphs and reading time – live, with limits for X, Instagram, TikTok, LinkedIn, SMS and more.
- Text Compare: Find Differences Between Two TextsCompare two texts online and highlight the differences by line, word or character, with a similarity score. Free, private, runs in your browser.
- Lorem Ipsum GeneratorFree lorem ipsum generator: paragraphs, sentences or an exact word count, start with “Lorem ipsum dolor sit amet”, optional HTML paragraph tags, one-click copy.
- Case ConverterConvert text to UPPERCASE, lowercase, Title Case, Sentence case, camelCase, snake_case or kebab-case. Free, instant and private – runs in your browser.
- Fancy Text GeneratorTurn text into bold, italic, cursive, gothic and 20+ other fancy fonts to copy and paste into Instagram, TikTok or Discord – with a note on accessibility.
- Image to text converterConvert an image to text: copy text from photos, scans and screenshots. OCR for English, German, French, Spanish and Portuguese – in your browser, no upload.