explaingit

shuffzord/n8nredact

Analysis updated 2026-05-18

5TypeScriptAudience · developerComplexity · 2/5Setup · easy

TLDR

A browser-only tool that replaces secrets in exported n8n workflow files with realistic fake values.

Mindmap

mindmap
  root((repo))
    What it does
      Anonymizes n8n exports
      Deterministic replacement
      Format preserving
    Tech stack
      TypeScript
      Svelte
      Vitest
      Playwright
    Privacy
      No backend
      Blocked network requests
      Works offline
    Use cases
      Share workflows safely
      Strip credentials
    Audience
      Developers
      n8n users

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Safely share an n8n workflow export in a public bug report or forum post.

USE CASE 2

Strip API keys and credential ids from a workflow before sending it to a coworker.

USE CASE 3

Check a workflow's risk report to see what sensitive data types it contains.

USE CASE 4

Anonymize a workflow while keeping it valid enough to re-import into n8n.

What is it built with?

TypeScriptSvelteVitestPlaywrightpnpm

How does it compare?

shuffzord/n8nredactagentigris/agentfundalange/tinyclaude
Stars555
LanguageTypeScriptTypeScriptTypeScript
Setup difficultyeasyhardmoderate
Complexity2/55/53/5
Audiencedeveloperdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · easy Time to first run · 5min

A live hosted demo needs no setup at all, running locally just requires pnpm install and pnpm dev.

The README does not state a license.

In plain English

n8nRedact is a browser based tool that scrubs secrets out of exported n8n workflow files before you share them. n8n is an automation platform where people build workflows that connect apps together, and those exported workflow files often contain API keys, credential ids, email addresses, and other sensitive values. This tool takes that file and replaces every sensitive value with a realistic looking fake, so the workflow is safe to post publicly, send to a coworker, or paste into a bug report, while still being valid enough to import back into n8n. The replacement is deterministic, meaning the same original value always turns into the same fake value throughout the file, so if a credential id appears in three different places, all three become the same new fake id and the workflow's internal connections still make sense. Replacements also keep the same shape as the original, so an email stays a valid looking email and a UUID stays a valid looking UUID. The tool covers a range of rule types including API keys and tokens, credential ids and names, resource names for things like Airtable or Postgres, messaging ids, UUIDs, email addresses, and URLs that have secrets embedded in their path, such as Slack or Discord webhook links. Each of these rules can be switched on or off individually, and the app shows a side by side comparison plus a risk report summarizing what kind of sensitive data it found. The biggest claim the project makes is about privacy, and it backs it up at the browser level rather than just in the code. The app runs entirely client side with no backend, and a strict browser security policy blocks any outgoing network requests at runtime, so nothing you paste can be sent anywhere even if there were a bug or a bad dependency. It also works offline after the first visit thanks to a service worker. It is built with Svelte and TypeScript, using pnpm for installation and scripts, Vitest for unit tests, and Playwright for end to end tests. There is a live hosted demo, or you can run it locally after installing pnpm. Pushing to the main branch automatically runs the test suite and deploys the static build to GitHub Pages.

Copy-paste prompts

Prompt 1
Use n8nRedact to anonymize this exported n8n workflow JSON before I share it publicly.
Prompt 2
Explain how n8nRedact's deterministic replacement keeps credential references consistent across a workflow.
Prompt 3
Show me how to run n8nRedact locally with pnpm and its test suite.
Prompt 4
Walk me through n8nRedact's risk report to understand what secrets it detected.

Frequently asked questions

What is n8nredact?

A browser-only tool that replaces secrets in exported n8n workflow files with realistic fake values.

What language is n8nredact written in?

Mainly TypeScript. The stack also includes TypeScript, Svelte, Vitest.

What license does n8nredact use?

The README does not state a license.

How hard is n8nredact to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is n8nredact for?

Mainly developer.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.