Skip to content

The tool’s interface below is still in French.

Code node generator

Choose the transformation and the fields involved: the n8n Code node script is generated, commented and ready to paste.

Vos données

Résultats

How it works

How to use the Code node generator

The n8n Code node JavaScript for the most common data transformations, commented and ready to paste.

  1. Choose the transformation

    Filter, rename, deduplicate…

  2. Enter the fields

    Involved in the transformation.

  3. Copy the result

    It is ready to paste wherever you need it.

FreeNo subscription, no hidden limits.
No sign-upOpen the page and use the tool. That’s it.
InstantResults in seconds, on mobile too.
PrivateEverything runs in your browser.

About the Code node generator

In “Run Once for All Items” mode, the Code node receives all the items through $input.all() and must return an array of objects of the form { json: … }.

Many of these transformations also exist as dedicated nodes (Filter, Remove Duplicates, Split Out, Aggregate). Code is still useful for combining several operations or for custom rules.

n8n code node n8n javascript examples n8n $input.all n8n transform data n8n code node generator n8n remove duplicates code n8n filter items code
FAQ

Frequently asked questions about the Code node generator

Can I use libraries?

Luxon (DateTime) is available by default. Other modules must be allowed by the administrator of the self-hosted instance.

JavaScript or Python?

The Code node offers both. These templates are in JavaScript, the most widely used language in n8n.

Do I need an n8n account?

Not to use the tool. You then paste the result into your own n8n instance, self-hosted or n8n Cloud.

Is the tool free?

Yes, it is completely free and needs no sign-up.

Esc
↑ ↓ navigateEnter open