# Error importing converted JSON from Squarespace

**URL:** <https://forum.ghost.org/t/error-importing-converted-json-from-squarespace/55580>\
**Category:** Migrations\
**Created:** [February 24, 2025, 6:04pm UTC](https://forum.ghost.org/t/error-importing-converted-json-from-squarespace/55580 "2025-02-24T18:04:30Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Obscurae](https://avatars.discourse-cdn.com/v4/letter/o/e9a140/32.png) [@Obscurae](https://forum.ghost.org/u/Obscurae)\
**Post date:** [February 24, 2025, 6:04pm UTC](https://forum.ghost.org/t/error-importing-converted-json-from-squarespace/55580/1 "2025-02-24T18:04:30Z")

</div>

Hi - total noob and not at all tech-y person here.  
wanted to migrate my blog posts from my Squarespace to my Ghost site. Squarespace spat out a 3MB .xml file, so I scoured the net for a JSON converter.  
Finally found one that seemed to have worked, and Ghost could accept via Universal Import, but the file keeps coming back as an unsuccessful import.  
Not smart enough to know how to fix. Help! Thanks!

---

<div class="post-metadata">

**Author:** ![jonhickman](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/jonhickman/32/33102_2.png) [@jonhickman](https://forum.ghost.org/u/jonhickman)\
**Post date:** [February 24, 2025, 8:28pm UTC](https://forum.ghost.org/t/error-importing-converted-json-from-squarespace/55580/2 "2025-02-24T20:28:12Z")

</div>

Hey there

Welcome to the forum!

The Universal Import option can take a JSON file that is valid for Ghost—your XML to JSON conversion might be a valid JSON file, but it needs to line up with Ghost’s spec too, which you can read here:

> **[Migrating to Ghost - Developer Guide](https://ghost.org/docs/migration/custom/)**
>
> A detailed guide for migrating to the Ghost publishing platform from WordPress, Tumblr, Medium, and other CMS tools.

You can wrangle your data a little more to bring it in line with this, or you can run your XML file through a [migration tool like this](https://github.com/TryGhost/migrate/tree/main/packages/mg-squarespace-xml) which will generate valid Ghost JSON.

Squarespace blog posts migrate beautifully to Ghost.

Squarespace pages may require a lot of clean up—this will depend on how much you’ve leaned on the page building features in Squarespace (the more you have used these tools, the more tidying p is required in Ghost). In the tool I shared above, the default for pages is that they are **not** migrated. You can toggle page migrations back on when you set up the job.

Good luck!

---

<div class="post-metadata">

**Author:** ![Obscurae](https://avatars.discourse-cdn.com/v4/letter/o/e9a140/32.png) [@Obscurae](https://forum.ghost.org/u/Obscurae)\
**Post date:** [February 25, 2025, 3:20pm UTC](https://forum.ghost.org/t/error-importing-converted-json-from-squarespace/55580/3 "2025-02-25T15:20:44Z")

</div>

Thank you so much Jon, you’re a lifesaver!

I managed to get the file converted, and I’ve now hit a snag uploading (it’s taking forever and then my mobile hotspot is timing out (probably because the file is 600MB!)(I don’t have a wired wifi connection where I am)

I’m only looking at importing Blog Posts, but starting my page hierarchy from scratch, so I didn’t even need to worry about that element.

Thanks again for your help - I’m going to try and babysit this upload now!

---

<div class="post-metadata">

**Author:** ![jonhickman](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/jonhickman/32/33102_2.png) [@jonhickman](https://forum.ghost.org/u/jonhickman)\
**Post date:** [February 25, 2025, 3:55pm UTC](https://forum.ghost.org/t/error-importing-converted-json-from-squarespace/55580/4 "2025-02-25T15:55:56Z")

</div>

It may not be your mobile connection tbqh, 600MB is a big chunk to send this way.

Import the JSON by itself, split down into smaller chunks if needed.

Split the images into a few smaller Zips too, definitely smaller than 500MB but maybe smaller yet if your connection isn’t very fast/reliable.

There’s a handy JSON splitter and a Zip splitter here which will help you chunk the migration cleanly and import in increments.

> **[GitHub - TryGhost/gctools: Command line utilities for working with Ghost...](https://github.com/TryGhost/gctools)**
>
> Command line utilities for working with Ghost content

---

<div class="post-metadata">

**Author:** ![Obscurae](https://avatars.discourse-cdn.com/v4/letter/o/e9a140/32.png) [@Obscurae](https://forum.ghost.org/u/Obscurae)\
**Post date:** [February 25, 2025, 5:27pm UTC](https://forum.ghost.org/t/error-importing-converted-json-from-squarespace/55580/5 "2025-02-25T17:27:27Z")

</div>

Thanks again! The Json came in eaaaaasily! All the articles are up, just without images.

I’m running into issues splitting the images, as I think some of the file names exceed 254 characters, but I’m pretty sure if I change those names they won’t marry up when I import them, right? The images file is uncompressed/not zipped, just for the record, if that changes anything!
