Discord Component Builder
Build button rows and select menus with unique custom IDs, validate constraints, preview layout, and export JSON or starter code.
Preparing the tool…
How to use the Discord Component Builder
- Choose the options that match your task.
- Review the live result, compatibility note, or limit indicator.
- Copy or download the result and test it in the correct Discord surface.
Build Discord buttons and select menus with live validation, unique custom IDs, visual preview, JSON export, and starter code. The working controls stay above this explanation so returning visitors can use the tool without scrolling through an article.
Frequently asked questions
Why must custom IDs be unique?
Discord uses custom_id to identify the interaction. Components in the same message must not share it, and each value must remain within documented length limits.
Does the builder host interaction code?
No. It creates component structures and starter handlers; your bot still needs to receive and process interactions.
Can link buttons use a custom ID?
No. Link-style buttons use a URL and do not send a normal custom-ID interaction.