A Shopify JSON template or section group holds up to 25 sections of up to 50 blocks each, and 1,250 blocks in total

15 of the 21 theme limits in Shopify's developer documentation, by the level each applies to, read November 20, 2026; all 21 in the table

By Martin DejnickiUpdated Data through November 20, 2026

Short answer

Shopify's Theme limits page, read November 20, 2026, states 21 limits. A JSON template or section group holds up to 25 sections, a section holds up to 50 blocks, and each template or group holds 1,250 blocks in total. A theme holds 1,000 JSON templates and 100,000 files, and a Liquid file is capped at 256 KB. The grid draws 15 limits; the table lists all 21.

A Shopify JSON template or section group holds up to 25 sections of up to 50 blocks each, and 1,250 blocks in total

15 of the 21 theme limits in Shopify's developer documentation, by the level each applies to, read November 20, 2026; all 21 in the table

1,000 JSON templates Theme: Applies JSON templates per theme1,000 JSON templates Theme: Applies JSON templates per theme1,000 JSON templates JSON: Not at level JSON templates per theme1,000 JSON templates Group: Not at level JSON templates per theme1,000 JSON templates Section: Not at level JSON templates per theme1,000 JSON templates File: Not at level JSON templates per theme20 section groups Theme: Applies Section groups per theme20 section groups Theme: Applies Section groups per theme20 section groups JSON: Not at level Section groups per theme20 section groups Group: Not at level Section groups per theme20 section groups Section: Not at level Section groups per theme20 section groups File: Not at level Section groups per theme300 theme block files Theme: Applies Theme block files (blocks/ folder) per theme300 theme block files Theme: Applies Theme block files (blocks/ folder) per theme300 theme block files JSON: Not at level Theme block files (blocks/ folder) per theme300 theme block files Group: Not at level Theme block files (blocks/ folder) per theme300 theme block files Section: Not at level Theme block files (blocks/ folder) per theme300 theme block files File: Not at level Theme block files (blocks/ folder) per theme100,000 files Theme: Applies Files per theme100,000 files Theme: Applies Files per theme100,000 files JSON: Not at level Files per theme100,000 files Group: Not at level Files per theme100,000 files Section: Not at level Files per theme100,000 files File: Not at level Files per theme50 MB uploaded theme package Theme: Applies Uploaded theme package size (compressed)50 MB uploaded theme package Theme: Applies Uploaded theme package size (compressed)50 MB uploaded theme package JSON: Not at level Uploaded theme package size (compressed)50 MB uploaded theme package Group: Not at level Uploaded theme package size (compressed)50 MB uploaded theme package Section: Not at level Uploaded theme package size (compressed)50 MB uploaded theme package File: Not at level Uploaded theme package size (compressed)250 MB total code (except assets) Theme: Applies Total code (all files except assets)250 MB total code (except assets) Theme: Applies Total code (all files except assets)250 MB total code (except assets) JSON: Not at level Total code (all files except assets)250 MB total code (except assets) Group: Not at level Total code (all files except assets)250 MB total code (except assets) Section: Not at level Total code (all files except assets)250 MB total code (except assets) File: Not at level Total code (all files except assets)25 sections Theme: Not at level Sections per JSON template25 sections JSON: Applies Sections per JSON template25 sections JSON: Applies Sections per JSON template25 sections Group: Not at level Sections per JSON template25 sections Section: Not at level Sections per JSON template25 sections File: Not at level Sections per JSON template1,250 blocks Theme: Not at level Blocks per JSON template or section group1,250 blocks JSON: Applies Blocks per JSON template or section group1,250 blocks JSON: Applies Blocks per JSON template or section group1,250 blocks Group: Applies Blocks per JSON template or section group1,250 blocks Group: Applies Blocks per JSON template or section group1,250 blocks Section: Not at level Blocks per JSON template or section group1,250 blocks File: Not at level Blocks per JSON template or section group25 sections per section group Theme: Not at level Sections per section group25 sections per section group JSON: Not at level Sections per section group25 sections per section group Group: Applies Sections per section group25 sections per section group Group: Applies Sections per section group25 sections per section group Section: Not at level Sections per section group25 sections per section group File: Not at level Sections per section group50 blocks Theme: Not at level Blocks per section50 blocks JSON: Not at level Blocks per section50 blocks Group: Not at level Blocks per section50 blocks Section: Applies Blocks per section50 blocks Section: Applies Blocks per section50 blocks File: Not at level Blocks per section8 levels of theme block nesting Theme: Not stated Theme block nesting depth8 levels of theme block nesting JSON: Not stated Theme block nesting depth8 levels of theme block nesting Group: Not stated Theme block nesting depth8 levels of theme block nesting Section: Not stated Theme block nesting depth8 levels of theme block nesting File: Not stated Theme block nesting depth512 KB JSON template file Theme: Not at level JSON template file size512 KB JSON template file JSON: Not at level JSON template file size512 KB JSON template file Group: Not at level JSON template file size512 KB JSON template file Section: Not at level JSON template file size512 KB JSON template file File: Applies JSON template file size512 KB JSON template file File: Applies JSON template file size512 KB section group file Theme: Not at level Section group file size512 KB section group file JSON: Not at level Section group file size512 KB section group file Group: Not at level Section group file size512 KB section group file Section: Not at level Section group file size512 KB section group file File: Applies Section group file size512 KB section group file File: Applies Section group file size256 KB Liquid file Theme: Not at level Liquid file size (sections, snippets, layouts)256 KB Liquid file JSON: Not at level Liquid file size (sections, snippets, layouts)256 KB Liquid file Group: Not at level Liquid file size (sections, snippets, layouts)256 KB Liquid file Section: Not at level Liquid file size (sections, snippets, layouts)256 KB Liquid file File: Applies Liquid file size (sections, snippets, layouts)256 KB Liquid file File: Applies Liquid file size (sections, snippets, layouts)1.5 MB settings_data.json Theme: Not at level settings_data.json file size1.5 MB settings_data.json JSON: Not at level settings_data.json file size1.5 MB settings_data.json Group: Not at level settings_data.json file size1.5 MB settings_data.json Section: Not at level settings_data.json file size1.5 MB settings_data.json File: Applies settings_data.json file size1.5 MB settings_data.json File: Applies settings_data.json file size

  • Each check marks the level the documentation names for the limit; the nesting depth of 8 levels has no level stated, so its row shows dashes.
  • The 25-section limit is stated both per JSON template and per section group, and the 1,250-block limit applies to each JSON template and each section group.
  • The grid shows 15 of the 21 stated limits; settings_schema.json, locale file, liquid setting and the three name-length limits are in the data table.
  • The documentation read states no size limit for asset files; total code (250 MB) excludes assets.

Source: Shopify, Theme limits, shopify.dev developer documentation, read November 20, 2026. Read on .

The data

Each chart on this page is drawn from the numbers below. Units are in the column headers.

A Shopify JSON template or section group holds up to 25 sections of up to 50 blocks each, and 1,250 blocks in total
LimitTheme (yes/no)JSON (yes/no)Group (yes/no)Section (yes/no)File (yes/no)Limit
1,000 JSON templatesAppliesNot at levelNot at levelNot at levelNot at levelJSON templates per theme
20 section groupsAppliesNot at levelNot at levelNot at levelNot at levelSection groups per theme
300 theme block filesAppliesNot at levelNot at levelNot at levelNot at levelTheme block files (blocks/ folder) per theme
100,000 filesAppliesNot at levelNot at levelNot at levelNot at levelFiles per theme
50 MB uploaded theme packageAppliesNot at levelNot at levelNot at levelNot at levelUploaded theme package size (compressed)
250 MB total code (except assets)AppliesNot at levelNot at levelNot at levelNot at levelTotal code (all files except assets)
25 sectionsNot at levelAppliesNot at levelNot at levelNot at levelSections per JSON template
1,250 blocksNot at levelAppliesAppliesNot at levelNot at levelBlocks per JSON template or section group
25 sections per section groupNot at levelNot at levelAppliesNot at levelNot at levelSections per section group
50 blocksNot at levelNot at levelNot at levelAppliesNot at levelBlocks per section
8 levels of theme block nestingNot statedNot statedNot statedNot statedNot statedTheme block nesting depth
512 KB JSON template fileNot at levelNot at levelNot at levelNot at levelAppliesJSON template file size
512 KB section group fileNot at levelNot at levelNot at levelNot at levelAppliesSection group file size
256 KB Liquid fileNot at levelNot at levelNot at levelNot at levelAppliesLiquid file size (sections, snippets, layouts)
1.5 MB settings_data.jsonNot at levelNot at levelNot at levelNot at levelAppliessettings_data.json file size
512 KB settings_schema.jsonNot at levelNot at levelNot at levelNot at levelAppliessettings_schema.json file size
1.5 MB locale fileNot at levelNot at levelNot at levelNot at levelAppliesLocale file size
50 KB liquid setting contentNot at levelNot at levelNot at levelNot at levelNot at levelContent in a single liquid setting
50 characters in the theme nameAppliesNot at levelNot at levelNot at levelNot at levelTheme name length
25 characters in a schema nameNot at levelNot at levelNot at levelAppliesNot at levelSection and block schema name attribute length
100 characters in a custom section or block nameNot at levelNot at levelNot at levelAppliesNot at levelCustom section and block name length (set by merchants in the theme editor)

Download Shopify theme limits: templates, sections, blocks and files, shopify.dev, November 20, 2026 as CSV · All 11 columns on the dataset page

Methodology

Reading the chart: A Shopify JSON template or section group holds up to 25 sections of up to 50 blocks each, and 1,250 blocks in total

  • Each check marks the level the documentation names for the limit; the nesting depth of 8 levels has no level stated, so its row shows dashes.
  • The 25-section limit is stated both per JSON template and per section group, and the 1,250-block limit applies to each JSON template and each section group.
  • The grid shows 15 of the 21 stated limits; settings_schema.json, locale file, liquid setting and the three name-length limits are in the data table.
  • The documentation read states no size limit for asset files; total code (250 MB) excludes assets.

Caveats: Shopify theme limits: templates, sections, blocks and files, shopify.dev, November 20, 2026

  • Values are the limits shopify.dev states on its Theme limits page, read November 20, 2026; Shopify can change them without notice.
  • The per-section and per-template block limits count blocks merchants can add, remove or reorder, including app blocks and theme blocks; statically rendered blocks added with content_for do not count.
  • Blocks per section is 50 unless a section's max_blocks setting lowers it.
  • Theme block nesting depth is 8 levels, excluding the section level; the page states no level the depth applies per, so its scope cells are empty, not no.
  • Total code (250 MB) counts all files except assets; the page states no size limit for asset files, so none is in the dataset and it is not treated as unlimited.
  • The 50 KB limit applies to the content of one liquid setting, not to a whole file; its level cells are all no because it names no theme, template, section group, section or file level.
  • Theme app extensions have their own file and content size limits, not covered here.
  • The page lists the three name-length limits under Naming without saying what level they apply to; their scope cells (per theme for the theme name, per section or block for the two section and block names) are Deploi's reading. The page names the 256 KB limit for 'Other Liquid files (sections, snippets, layouts)'.

Deploi's charts and compilation are licensed CC BY 4.0. The underlying facts belong to their sources, which are named on every page. How Deploi Shopify Data works.

Sources

Tier A sources are primary documents: filings, official releases and official price pages. How sources are ranked.

Cite and reuse

Deploi's charts and compilation are licensed CC BY 4.0. The underlying facts belong to their sources, which are named on every page.

APA

Deploi. (2026). A Shopify JSON template or section group holds up to 25 sections of up to 50 blocks each, and 1,250 blocks in total (Version 1) [Chart]. https://deploi.ca/shopify/data/charts/shopify-theme-limits Retrieved November 20, 2026.

BibTeX

@misc{deploi_shopify_theme_limits_2026,
  author = {{Deploi}},
  title = {A Shopify JSON template or section group holds up to 25 sections of up to 50 blocks each, and 1,250 blocks in total},
  year = {2026},
  version = {1},
  url = {https://deploi.ca/shopify/data/charts/shopify-theme-limits},
  note = {Accessed 2026-11-20}
}

Embed this chart

Embed code

<iframe src="https://deploi.ca/embed/shopify/data/shopify-theme-limits" title="A Shopify JSON template or section group holds up to 25 sections of up to 50 blocks each, and 1,250 blocks in total" loading="lazy" style="width:100%;height:850px;border:0"></iframe>
<p style="font:12px/1.4 Arial,sans-serif;margin:4px 0 0">Source: <a href="https://deploi.ca/shopify/data/charts/shopify-theme-limits">Deploi, A Shopify JSON template or section group holds up to 25 sections of up to 50 blocks each, and 1,250 blocks in total</a></p>

Keep the credit line under the embed. It is the license condition.

Downloads

  • Chart: A Shopify JSON template or section group holds up to 25 sections of up to 50 blocks each, and 1,250 blocks in total PNG
  • Data: Shopify theme limits: templates, sections, blocks and files, shopify.dev, November 20, 2026 CSV

Changes

  1. · Shopify theme limits: templates, sections, blocks and files, shopify.dev, November 20, 2026
    First release. 21 limit rows from one shopify.dev page.
Deploi is not affiliated with Shopify. Questions about this data: contact@deploi.ca.