# Kirby save blocks data in json format instead of yaml

**URL:** <https://forum.getkirby.com/t/kirby-save-blocks-data-in-json-format-instead-of-yaml/35685>\
**Category:** Questions\
**Tags:** v3, v4\
**Created:** [October 29, 2026, 12:22pm UTC](https://forum.getkirby.com/t/kirby-save-blocks-data-in-json-format-instead-of-yaml/35685 "2026-10-29T12:22:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![lowtechlab](https://avatars.discourse-cdn.com/v4/letter/l/71c47a/32.png) [@lowtechlab](https://forum.getkirby.com/u/lowtechlab)\
**Post date:** [October 29, 2026, 12:22pm UTC](https://forum.getkirby.com/t/kirby-save-blocks-data-in-json-format-instead-of-yaml/35685/1 "2026-10-29T12:22:03Z")

</div>

I heritate from a kirby website which remain in version 3.5.

I manage to update it to 3.10 first, converting existing builder type fieldset to blocks (needed a lot of work) and then to v4.9.6.

I updated all pugins too.

It’s working but it has a very weird behavior no matter which kirby version I use between 3.10, 4.7 and 4.9.6.

When I modify a page and save it, the content of a block type is saved as a json format (it’s what is seems to me at least) instead of yaml.

For example something like :

```auto
Sections:

-
  text: |
    **awesome text of this website.**

    Some more text
  _key: markdown
  _uid: intro_1756724842605_2966

```

will then be saved like that :

```auto
Sections: [{"content":{"text":" **awesome text of this website** \n\Some more text"},"id":"764f0fb5-b4a3-471d-9a3d-7ee86277af9f","isHidden":false,"type":"markdown"}]

```

Which is not nice to read. It’s doing that only (for what I have been testing) for blocks types. The reste of .txt files remain as yaml format.

I believe it shouldn’t be like that. Could someone confirm it?

If it shouldn’t, does anyone have any idea where this behavior could come from and would know how to solve this issue?

---

<div class="post-metadata">

**Author:** ![lowtechlab](https://avatars.discourse-cdn.com/v4/letter/l/71c47a/32.png) [@lowtechlab](https://forum.getkirby.com/u/lowtechlab)\
**Post date:** [October 29, 2026, 12:29pm UTC](https://forum.getkirby.com/t/kirby-save-blocks-data-in-json-format-instead-of-yaml/35685/2 "2026-10-29T12:29:44Z")

</div>

I found a solution to make the json look nicer here [Content in textfile structure for blocks - #3 by thePhrase](https://forum.getkirby.com/t/content-in-textfile-structure-for-blocks/22941/3) but is json mandatory with blocks?

---

<div class="post-metadata">

**Author:** ![distantnative](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/distantnative/32/11319_2.png) [@distantnative](https://forum.getkirby.com/u/distantnative)\
**Post date:** [October 29, 2026, 7:58pm UTC](https://forum.getkirby.com/t/kirby-save-blocks-data-in-json-format-instead-of-yaml/35685/3 "2026-10-29T19:58:18Z")

</div>

Yes, blocks store their content as JSON. There were too many issues with yaml and blocks and nested content.
