# N8N changes Json node code when paste in

**URL:** <https://community.n8n.io/t/n8n-changes-json-node-code-when-paste-in/139322>\
**Category:** Questions\
**Tags:** node\
**Created:** [June 26, 2025, 11:11pm UTC](https://community.n8n.io/t/n8n-changes-json-node-code-when-paste-in/139322 "2025-06-26T23:11:40Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nicoshi](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/nicoshi/32/94437_2.png) [@Nicoshi](https://community.n8n.io/u/Nicoshi)\
**Post date:** [June 26, 2025, 11:11pm UTC](https://community.n8n.io/t/n8n-changes-json-node-code-when-paste-in/139322/1 "2025-06-26T23:11:40Z")

</div>

I’m having issues importing (or pasting) a node inside n8n workflow. the code keeps changing. I’m editing externally and when I past it in, the code gets modified by n8n.  
I’m learning it so I need help figuring out this so I can continue with my small silly project. Thanks in advance

---

<div class="post-metadata">

**Author:** ![RBPTG](https://avatars.discourse-cdn.com/v4/letter/r/eb9ed0/32.png) [@RBPTG](https://community.n8n.io/u/RBPTG)\
**Post date:** [June 27, 2025, 2:38am UTC](https://community.n8n.io/t/n8n-changes-json-node-code-when-paste-in/139322/2 "2025-06-27T02:38:50Z")

</div>

Make sure your code is properly formatted javascript or python. You can also try pasting in sections, saving after each paste. How exactly is the code being changed?

---

<div class="post-metadata">

**Author:** ![Wouter\_Nigrini](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/wouter_nigrini/32/150261_2.png) [@Wouter\_Nigrini](https://community.n8n.io/u/Wouter_Nigrini)\
**Post date:** [June 27, 2025, 8:36am UTC](https://community.n8n.io/t/n8n-changes-json-node-code-when-paste-in/139322/3 "2025-06-27T08:36:21Z")

</div>

I usually edit bigger pieces of code in an external IDE and then paste the code only into the code node via the n8n ide instead of the entire node itself.

What specifically is your use case for editing the node itself?

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/system/32/195824_2.png) [@system](https://community.n8n.io/u/system)\
**Post date:** [September 25, 2025, 8:37am UTC](https://community.n8n.io/t/n8n-changes-json-node-code-when-paste-in/139322/4 "2025-09-25T08:37:01Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
