Clean and encode JSON

All workflow recipes

JSON & Data

Useful when an API, environment variable, or configuration field expects deterministic Base64-encoded JSON.

Transformation steps

  1. 1Format JSON
  2. 2Sort JSON keys
  3. 3Base64 encode

Example input

{"version":2,"name":"PlainUtils","local":true}

Expected output

ewogICJsb2NhbCI6IHRydWUsCiAgIm5hbWUiOiAiUGxhaW5VdGlscyIsCiAgInZlcnNpb24iOiAyCn0=

Local and private: this recipe runs entirely in your browser. Opening it transfers the example input through local storage on this device; copied recipe links contain the workflow definition only.

Related recipes