# How to Add Custom Code to Framer

> To embed custom code in Framer, open your project, access the Insert menu, and select Embed. Next, access the HTML tool, enter your custom HTML code into the field, select HTML to begin embedding, and preview how your HTML elements will appear on the published site.

Canonical: https://livedemo.ai/tutorials/how-to-add-custom-code-to-framer/
Apps: Framer
Updated: 2026-10-05
Interactive demo: https://story-api.livedemo.ai/workspaces/62255d3d3304f17b8f5e2d03/stories/692a2d3157f8f6cdddddd3d4/preview?step=1

## Steps

1. Open your Framer project.
2. Access the 'Insert' menu to add new elements to your design.
3. Select 'Embed' to add the custom code to your Framer.
4. Access the HTML tool to add custom code elements to your design.
5. Enter your custom HTML code in this field
6. Select HTML to begin embedding custom code in your Framer project.
7. Preview how your HTML elements will appear on the published site.
