Templates / Convert JSON objects to base64 strings with file processing

Convert JSON objects to base64 strings with file processing

Ready for 3.0

by Wyeth ✓ · 633 views · created 2025-07-14 · File Management

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This workflow has 5 nodes and runs manually, when you click “Execute workflow”. It uses only n8n's built-in nodes.

How it runs

Trigger: Manually, when you click “Execute workflow”.

  1. Create Json Data (Edit Fields (Set)): sets or maps fields
  2. Convert JSON to String (Edit Fields (Set)): sets 1 field: json_text
  3. Convert String to Binary (Convert to File): converts data to a file (to text)
  4. Extract Base64 from Binary (Extract from File): extracts data from a file (binary to propery)

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (4)

From the author

Encode JSON to Base64 String in n8n This example workflow demonstrates how to convert a JSON object into a base64-encoded string using n8n’s built-in file processing capabilities. This is a common requirement when working with APIs, webhooks, or SaaS…

Excerpt from Wyeth's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.