Skip to content
ShapelessAI← All specs

lemmyUnicode code pointsVerified by Tal Weiss

Lemmy character limit and media specs

A Lemmy post holds up to 50,000 characters, with 1 images. Every number below is the one our publishing engine enforces before a Lemmy post goes out, with the source it came from and the date we last read it.

Text[text]

Lemmy text limits
Max length50,000 Unicode code points
CountingCounted in Unicode code points: one plain character is one, and a link costs its full length.

Media

Lemmy media constraints by kind
ConstraintImages[image]
Per post1
Formats.png, .jpg, .jpeg, .gif, .webp
Max sizenot published
Max length-
We publish ityes

We publish text and images here; video and PDF documents we do not deliver to Lemmy yet. A PDF deck degrades here into up to 1 slide images.

Mentions

Lemmy mention syntax
Syntax@user@instance

Markdown body; @user@instance and !community@instance link natively.

The guidance our own agent carries for Lemmy, verbatim.

How our publisher handles it

The notes our publishing engine carries for Lemmy, verbatim - what our adapter does, not only what the platform allows.

  • Every post goes to ONE community (settings.community, e.g. "technology@lemmy.world") and needs a title of 3-200 characters on one line: settings.title, else the API title, else the first line of the text.
  • One image at most: it is uploaded to the account's own instance and becomes the post's link (or its thumbnail when settings.url carries a link).
  • Communities punish self-promotion: write like a member sharing something useful, not like an ad.

Questions

How long can a Lemmy post be?
50,000 characters. Counted in Unicode code points: one plain character is one, and a link costs its full length.
How many images can one Lemmy post have?
Up to 1: .png, .jpg, .jpeg, .gif, .webp.
How do you tag an account on Lemmy?
Write @user@instance. Markdown body; @user@instance and !community@instance link natively.

Sources, verified 2026-11-23

Each citation names where the number came from. Anything we could not confirm in an official document is marked, because a number nobody will stand behind should look different from one that is.

  1. [text]github.com/LemmyNet/lemmy release/v0.19 crates/utils/src/utils/validation.rs: POST_BODY_MAX_LENGTH 50000, is_valid_post_title 3..=200 chars and no newline, URL_MAX_LENGTH 2000github.com/LemmyNet/lemmyverified 2026-11-23
  2. [image]lemmy-js-client release/v0.19 uploadImage: POST /pictrs/image multipart images[], answers {msg:"ok", files:[{file, delete_token}]}, served at /pictrs/image/<file>verified 2026-11-23
  3. [api]lemmy-js-client release/v0.19 http.ts + CreatePost.ts: POST /api/v3/post {name, community_id, url?, body?, nsfw?, custom_thumbnail?, alt_text?}; GET /api/v3/community?name; GET /api/v3/resolve_object?qverified 2026-11-23
  4. [auth]lemmy release/v0.19 crates/api/src/lib.rs read_auth_token: Authorization Bearer <jwt> (or the jwt cookie); claims.rs validate_exp=false, so a login token lives until logoutverified 2026-11-23
  5. [v4]join-lemmy.org/docs/contributors/09-api-v4.html: Lemmy 1.0 serves the moved endpoints under /api/v3 too, so v3 reaches 0.19 and 1.0 instancesjoin-lemmy.org/docs/contributors/09-api-v4.htmlverified 2026-11-23