# Telegram Inline Keyboard Builder | reply_markup without JSON

> Create your Telegram bot's inline buttons without writing JSON: visual rows and columns, all four types of the Bot API, callback_data byte counter, and ready code for cURL, aiogram, or grammY. Free and without an account.

- **Source (source):** https://aitoolsforapps.com/aitelegram-stickers-emojis-and-branding-for-telegram-215/f/inline-keyboard-builder-for-telegram-bots
- **Platform (platform):** AiToolsForApps
- **Language (language):** en

## In summary

- Build your Telegram bot's inline keyboard without writing JSON
- Add rows and buttons by tapping them on the message bubble, choose from the four types of the Bot API, and copy the validated reply_markup. Free, in your browser, and without an account.
- Edit where you see it
- The four types of the Bot API, each with its rule
- Actual byte counter for callback_data

## Build your Telegram bot's inline keyboard without writing JSON

The inline keyboard builder of Telegram is the Bot tab of the app: on the left, you write the message, below you build the keyboard, and above you see the Telegram bubble as it will appear to your subscriber. There is no parallel form or a text box with the JSON matrix: you add a row, add buttons to that row, and edit each button by tapping it on the mockup. What you see is exactly what will be serialized.

Each button has text (up to 64 characters) and one of the four types supported by the Bot API: link (url), callback (callback_data), Mini App (web_app), and inline search (switch_inline_query). The type determines the validation: the link must start with https://, http://, or tg://, a Mini App requires HTTPS, and the callback_data has a real byte counter—not character count—because the 64 limit imposed by Telegram is measured in UTF-8 bytes and an emoji takes up four at once.

Before giving you anything, the keyboard goes through the schema validator, which does not say "there is an error" but the exact path: "Row 2, button 3: the callback_data measures 71 bytes and the maximum is 64". It marks as an error the button without text, the invalid type, the template destination partially filled, the malformed link, and the empty or too long callback; and as a warning what Telegram accepts but will go wrong: more than eight buttons in a row, more than one hundred buttons in the message, and repeated buttons. Buttons with issues appear with a red border in the mockup, so you see the error in its place.

When it's ready, you take it: the formatted JSON of the reply_markup, or the complete message already built for cURL, raw Bot API, python-telegram-bot, aiogram, telegraf, or grammY, with the text escaped in MarkdownV2 by the app's own engine. And if you don't want to start from scratch, there are 29 keyboard templates spread across five categories—sales, community, content, support, and Mini Apps—with the real keyboard thumbnail in view: you fill in the gaps, choose to replace what you have or add it below, and if you write the theme of your channel, the AI adapts the button texts to your language and niche without touching the structure.

## What's included

- **Edit where you see it** — buttons are tapped in the message mockup, not in a separate form. Add a row, add a button to a row, change it or delete it, and an Undo for when you go overboard.
- **The four types of the Bot API, each with its rule** — url (https://, http:// or tg://), callback_data, web_app (only HTTPS) and switch_inline_query, which can be empty to trigger your bot's inline search.
- **Actual byte counter for callback_data** — 64 bytes, not 64 characters. See how many you have while typing and the warning pops up before sending, not after the 400 error.
- **The validator gives you the path of the failure, not a 'something went wrong'** — exact row and button, button without text, partially filled template destination, malformed link or empty callback, with the affected button highlighted in red in the template itself.
- **Design warnings, not just syntax** — more than eight buttons in a row (Telegram truncates the text), more than a hundred buttons in the message, and duplicate buttons, which are almost always a mistake when copying and pasting.
- 29 ready templates in five categories — sales, community, content, support, and Mini Apps — with the real keyboard thumbnail in view, gaps to fill in, and the option to replace the keyboard or add rows below the one you already have.
- **Real bubble preview in Telegram, in light and dark theme** — the message is rendered from the already escaped text in MarkdownV2, so the preview is a check and not an illusion.
- **The pre-built code** — the reply_markup in formatted JSON or the complete send for cURL, python-telegram-bot, aiogram, telegraf, and grammY. With placeholders <YOUR_TOKEN> and <CHAT_ID>: the app never asks for your bot's token or sends anything on your behalf.

## Frequently Asked Questions

### How do you put buttons under a Telegram bot message?

The buttons that appear attached to a message are an inline keyboard: they are sent in the reply_markup parameter of sendMessage, in the form {"inline_keyboard": [[button, button], [button]]}, where each internal array is a row. Each button is an object with its text and a single action property: url, callback_data, web_app, or switch_inline_query. In the Telegram inline keyboard builder, you create those rows by tapping the message mockup and you get the reply_markup already serialized and validated, or the complete send fragment for cURL, python-telegram-bot, aiogram, telegraf, or grammY.

### How long can callback_data be and why is it measured in bytes?

The Bot API limits callback_data to 64 bytes, not 64 characters, because the limit applies to the UTF-8 encoding of the value. An ASCII character takes one byte, an accented vowel takes two, and an emoji can take four, so data that seems short on screen can exceed the limit and cause an error when sending. The builder shows the actual byte count while you type and highlights the button in red as soon as you exceed, indicating the specific row and button. If you need more information than fits, it's common to store a short identifier in the callback_data and resolve the rest in your bot.

### How many inline buttons can I put per row and in total?

Telegram does not prevent you from pressing the row, but it does truncate the text of the buttons when they don't fit, especially on mobile. The builder warns after eight buttons in the same row and also when the message exceeds one hundred buttons in total, because beyond that the keyboard becomes unusable on a phone screen. As a practical rule: one or two buttons per row if they have descriptive text, and three or four only if they are very short labels. The real bubble preview in Telegram, in light and dark theme, lets you check it before sending anything.

### Do I need my bot's token or to register to use the builder?

No to both. The builder, the reply_markup validator, the preview, and the code snippets are calculated entirely in your browser: you can use it without creating an account and at no cost. And the app never asks for your bot's token or sends messages on your behalf: the code you copy contains the placeholders <YOUR_TOKEN> and <CHAT_ID>, which you fill in your own environment. You only need a free account for two things: to save the message with its keyboard and reuse it another day, and to request that the AI adapt the button texts from a template to the theme of your channel.

### What types of inline buttons exist and which one is right for me?

There are four, and the builder offers them as a selector: link (url), which opens a website, a channel, or a group and must start with https://, http://, or tg://; callback (callback_data), which sends data to your bot when pressed and only does something if you have a bot listening for that callback; Mini App (web_app), which opens a Telegram Mini App and requires HTTPS plus a configured bot; and inline search (switch_inline_query), which prompts the user to write a query to your bot in another chat and can go with an empty value. If you only manage a channel and don't have a programmed bot, the type that works without anything else behind it is the link: the app warns you when a template has callback buttons.

- [Telegram — Stickers, emojis, and branding for Telegram channels with AI](https://aitoolsforapps.com/aitelegram-stickers-emojis-and-branding-for-telegram-215)

## About the platform

**Telegram — Stickers, emojis, and branding for Telegram channels with AI** — an app by AiToolsForApps. Available at: https://aitoolsforapps.com/aitelegram-stickers-emojis-and-branding-for-telegram-215/f/inline-keyboard-builder-for-telegram-bots

### Other languages

- `es`: https://aitoolsforapps.com/es/aitelegram-stickers-emojis-y-branding-para-telegram-215/f/constructor-de-teclados-inline-para-bots-de-telegram
- `fr`: https://aitoolsforapps.com/fr/aitelegram-stickers-emojis-et-branding-pour-telegram-215/f/constructeur-de-claviers-inline-pour-bots-telegram
- `it`: https://aitoolsforapps.com/it/aitelegram-stickers-emojis-e-branding-per-telegram-215/f/costruttore-di-tastiere-inline-per-bot-di-telegram
- `pt`: https://aitoolsforapps.com/pt/aitelegram-stickers-emojis-e-branding-para-telegram-215/f/construtor-de-teclados-inline-para-bots-de-telegram
- `de`: https://aitoolsforapps.com/de/aitelegram-stickers-emojis-und-branding-fuer-telegram-215/f/inline-tastenkonstruktor-fuer-telegram-bots
- `bg`: https://aitoolsforapps.com/bg/telegram-sazdavayte-stikeri-i-emodzhita-koito-stickers-priema-215/f/konstruktor-na-inline-klaviaturi-za-botove-v-telegram
- `ja`: https://aitoolsforapps.com/ja/telegram-sticker-emoji-sakusei-215/f/telegram-inline-keyboard-builder
- `nl`: https://aitoolsforapps.com/nl/telegram-maak-telegram-stickers-en-emoji-s-die-stickers-accepteert-215/f/inline-toetsenbordbouwer-voor-telegram-bots
- `ko`: https://aitoolsforapps.com/ko/telegram-sticker-emoji-channel-branding-215/f/telegram-bot-inline-keyboard-builder
- `sv`: https://aitoolsforapps.com/sv/telegram-skapa-telegram-stickers-och-emojis-som-stickers-godkanner-215/f/byggare-for-inline-tangentbord-till-telegram-bots
- `da`: https://aitoolsforapps.com/da/telegram-lav-telegram-stickers-og-emojis-som-stickers-accepterer-215/f/bygger-til-inline-tastaturer-til-telegram-bots
- `id`: https://aitoolsforapps.com/id/telegram-buat-stiker-dan-emoji-telegram-yang-diterima-stickers-215/f/pembuat-keyboard-inline-untuk-bot-telegram
- `cs`: https://aitoolsforapps.com/cs/telegram-stickery-a-emoji-pro-telegram-ktere-stickers-prijme-215/f/konstruktor-inline-klavesnic-pro-boty-telegram
- `fi`: https://aitoolsforapps.com/fi/telegram-tee-telegram-tarroja-ja-emojeja-jotka-stickers-hyvaksyy-215/f/inline-nappaimiston-rakentaja-telegram-boteille
- `zh`: https://aitoolsforapps.com/zh/telegram-stickers-emojis-branding-215/f/telegram-jiqiren-hangnei-jianpan-jiangoqi
- `pl`: https://aitoolsforapps.com/pl/telegram-tworz-stickery-i-emoji-ktore-przyjmie-stickers-215/f/konstruktor-klawiatur-inline-dla-botow-telegram
- `no`: https://aitoolsforapps.com/no/telegram-lag-telegram-stickers-og-emojier-stickers-godtar-215/f/bygger-for-inline-tastatur-til-telegram-botter
- `ar`: https://aitoolsforapps.com/ar/telegram-anshi-mlsqat-wiimuji-telegram-yqblha-stickers-215/f/telegram-inline-keyboard-builder-for-bots
- `he`: https://aitoolsforapps.com/he/telegram-yotsrim-stikrim-vaimog-ym-sh-stickers-mkbl-215/f/boneh-mikladot-inline-le-botim-shel-telegram
