Calendly Embed Generator
<div class="calendly-inline-widget" data-url="https://calendly.com/calendly-demo" style="min-width:320px;height:700px;"></div> <script src="https://assets.calendly.com/assets/external/widget.js" type="text/javascript" async></script> <p style="margin:4px auto 0;text-align:center;font:11px/1.4 -apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;color:#a3a7b0;">Created with <a href="https://elfsight.com/tools/calendly-embed-generator/" target="_blank" rel="noopener" style="color:inherit;text-decoration:none;">Elfsight</a></p>
- Click Copy code above to copy it.
- Open the page’s HTML file or template.
- Paste the code inside
<body>, where the content should appear. - Save and upload the page, then open it in a browser to check.
Take bookings right on your website
Bookings around the clock
Services with prices and durations
Two-way Google Calendar sync

Generator vs Calendly’s Share → Add to website
hide_event_type_details=1 and hide_gdpr_banner=1prefill optionname=, email= and a1= to the linkWhere you build the code
Calendly’s Share → Add to website
This generator
Embed types
Calendly’s Share → Add to website
This generator
Hide event details and the cookie banner
Calendly’s Share → Add to website
This generator
hide_event_type_details=1 and hide_gdpr_banner=1Prefill name and email
Calendly’s Share → Add to website
prefill optionThis generator
name=, email= and a1= to the linkColors
Calendly’s Share → Add to website
This generator
Calendly link parameters
? in your scheduling link, joined with &. The generator adds them for you; you can also type them into any Calendly link.hide_event_type_details1hide_landing_page_details1hide_gdpr_banner1background_color, text_color, primary_color#, e.g. 0069ffname, first_name, last_name, email%20first_name and last_name if your form asks for them separately.a1, a2 …a3=2,3text, color, textColor#, e.g. #0069ffCalendly.initBadgeWidget, not link parameters. Calendly lists color and button text changes as paid-plan features.brandingtrue or falseInline sizemin-width:320px, height about 700pxdata-resize="true" to let it grow.hide_event_type_details
What it does
Values
1Notes
hide_landing_page_details
What it does
Values
1Notes
hide_gdpr_banner
What it does
Values
1Notes
background_color, text_color, primary_color
What it does
Values
#, e.g. 0069ffNotes
name, first_name, last_name, email
What it does
Values
%20Notes
first_name and last_name if your form asks for them separately.a1, a2 …
What it does
Values
a3=2,3Notes
Button text, color, textColor
What it does
Values
#, e.g. #0069ffNotes
Calendly.initBadgeWidget, not link parameters. Calendly lists color and button text changes as paid-plan features.branding
What it does
Values
true or falseNotes
Inline size
What it does
Values
min-width:320px, height about 700pxNotes
data-resize="true" to let it grow.If the scheduler doesn’t look right
The inline scheduler has its own scroll bar or is cut off
Increase the height in the code, e.g. to 750px, or add data-resize="true". Calendly recommends only one auto-resizing embed per page and no dropdown questions with it.
Nothing appears on the page
Your site builder may strip <script> tags. Paste the code into an HTML or custom code block that keeps scripts, and check that the link opens in a browser.
The pop-up opens as a plain page or looks unstyled
The pop-up and badge also need Calendly’s stylesheet: keep the widget.css line from the generated code.
Colors don’t change
Color options work on paid Calendly plans only. In the link, write hex values without #: primary_color=0069ff.
Your name and event details appear twice
Turn on Hide event details. Use hide_event_type_details=1 for one event and hide_landing_page_details=1 for a page with all events.
Prefilled fields stay empty
Check the parameter names (name, email, a1) and write spaces as %20. Answers go by the question’s position on your booking form.
The floating badge covers another button
The badge sits in the bottom right corner. Move it with CSS: .calendly-badge-widget { right: auto !important; left: 20px !important; }
Inline, pop-up or badge — which to choose
Inline
What visitors see
Good for
Keep in mind
Pop-up on a button or link
What visitors see
Good for
Keep in mind
Badge
What visitors see
Good for
Keep in mind
All three load the same script, https://assets.calendly.com/assets/external/widget.js, and show the same booking page with the same link parameters.
How to embed Calendly on your website
Copy your Calendly link
In Calendly, copy the link to your scheduling page or a single event.
Choose options
Pick the color and what to hide.
Paste the code
Add the code to an HTML block where the calendar should appear.