Webflow + Custom Code

Custom Code Character Limit

Overview
Do You Remember?
Tracking w/ Cookies & Web Storage
100
Using Custom Code
100
Custom Code Character Limit
101
Custom Code
HTML Encoding & Decoding
102
Inline Coding Techniques
4:41
104
Inline CSS
4:41
104
Sygnal Webflow Utilities ( WFU )
Sygnal Webflow Utils ( WFU )
200
Helper Functions
202
Webflow.js
Webflow.js
700
No items found.
Updated
June 29, 2025
in lightbox

Webflow stores custom code in 4 places;

  1. Site wide head / body custom code areas, managed in the site settings dashboard
  2. Page-specific head / body custom code areas, managed in page settings within the designer
  3. Embed elements on the canvas
  4. Embed elements within Rich text elements

Character Limits

In the past, Webflow's custom code character limit was quite limited;

  • Originally 5,000 char limit per Embed
  • Nov 2016, increased to 10,000 chars per Embed
  • May 2024 - Increased to 50,000 chars, for all areas, including Embeds

This grew due to designer needs to support;

  • Inline SVGs in embeds, which can become large especially for logos
  • Larger data chunks like JSON-LD
  • Larger requirements for JavaScript storage

Need More?

Write and debug your code using a 3rd party programming tool like CodePen.io Pro or Code Sandbox. This will allow you to edit your code freely and simply refresh your published site to test it out.

Once your code is ready to go live, it's best to put it in a safer place like Github with JSDeliver as a CDN. This allows you to safeguard your code, and deliver it very quickly.

Good CDNs for delivering your Github repo...

  • jsDelivr ( free, public repos only )
  • Netlify ( free for public repos, paid for private org repos )

There are many others as well, depending on your needs.

More notes

https://discourse.webflow.com/t/character-limit/111642

https://webflow.com/made-in-webflow/website/Custom-Code-10000-Character-Limit-Solution-With-a-CDN

Table of Contents
Comments
Did we just make your life better?
Passion drives our long hours and late nights supporting the Webflow community. Click the button to show your love.