Title: Counting Characters - X
Open Graph Title: Counting Characters - X
X Title: Counting Characters - X
Description: How X counts characters in Posts, including the 280-character limit, weighted code points, URL shortening, emoji and Unicode handling, and edge cases.
Open Graph Description: How X counts characters in Posts, including the 280-character limit, weighted code points, URL shortening, emoji and Unicode handling, and edge cases.
X Description: How X counts characters in Posts, including the 280-character limit, weighted code points, URL shortening, emoji and Unicode handling, and edge cases.
Opengraph URL: https://docs.x.com/fundamentals/counting-characters
Generator: Mintlify
Domain: docs.x.com
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://docs.x.com/#organization","name":"X","url":"https://docs.x.com","logo":{"@type":"ImageObject","url":"https://mintcdn.com/x-preview/CX6FNhUUR8mtNZ97/logo/light.svg?fit=max&auto=format&n=CX6FNhUUR8mtNZ97&q=85&s=b2e6f2ff399e1bc5cd0c588f9644983d"}},{"@type":"WebSite","@id":"https://docs.x.com#website","name":"X","url":"https://docs.x.com","publisher":{"@id":"https://docs.x.com/#organization"}},{"@type":"WebPage","@id":"https://docs.x.com/fundamentals/counting-characters#webpage","url":"https://docs.x.com/fundamentals/counting-characters","name":"Counting Characters","description":"How X counts characters in Posts, including the 280-character limit, weighted code points, URL shortening, emoji and Unicode handling, and edge cases.","dateModified":"2026-05-20T23:45:51.312Z","isPartOf":{"@id":"https://docs.x.com#website"},"breadcrumb":{"@id":"https://docs.x.com/fundamentals/counting-characters#breadcrumb"}},{"@type":"BreadcrumbList","@id":"https://docs.x.com/fundamentals/counting-characters#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Fundamentals","item":"https://docs.x.com/fundamentals/developer-apps"},{"@type":"ListItem","position":2,"name":"Counting Characters","item":"https://docs.x.com/fundamentals/counting-characters"}]},{"@type":["Article","TechArticle"],"@id":"https://docs.x.com/fundamentals/counting-characters#article","headline":"Counting Characters","name":"Counting Characters","description":"How X counts characters in Posts, including the 280-character limit, weighted code points, URL shortening, emoji and Unicode handling, and edge cases.","url":"https://docs.x.com/fundamentals/counting-characters","mainEntityOfPage":{"@id":"https://docs.x.com/fundamentals/counting-characters#webpage"},"image":"https://docs.x.com/images/og-default.png","dateModified":"2026-05-20T23:45:51.312Z","keywords":"character counting, tweet length, 280 characters, character limits, Unicode, emoji characters, URL length, tweet composition","publisher":{"@id":"https://docs.x.com/#organization"},"isPartOf":{"@id":"https://docs.x.com#website"}}]}
| application-name | X |
| og:site_name | X Developer Platform |
| og:type | website |
| og:image | https://docs.x.com/images/og-default.png |
| og:image:width | 1200 |
| og:image:height | 630 |
| twitter:card | summary_large_image |
| twitter:image | https://docs.x.com/images/og-default.png |
| twitter:image:width | 1200 |
| twitter:image:height | 630 |
| msapplication-config | /mintlify-assets/_mintlify/favicons/x-preview/FsnFMtl8dbNRWPu8/_generated/favicon/browserconfig.xml |
| apple-mobile-web-app-title | X |
| msapplication-TileColor | #0D0D0D |
| og:locale | en_US |
| author | X Developer Platform |
| language | en |
| googlebot | index, follow |
Links:
Viewport: width=device-width, initial-scale=1, viewport-fit=cover
Robots: index, follow