Convert and format values
Encode
Encodes or decodes text (base64, URL, hex, HTML, character sets) or gives each record a stable id.
Nodes › TransformOpen in Neblex
- Good for
- Getting values into the right encoding
- Role
- Works on the records in a flow
- Find it in
- Nodes › Transform
When to use it
- An API expects base64 or URL-encoded values.
- Text arrives in another character set and must become readable.
- Each record needs an id that stays the same when the run is replayed.
Reach for something else when
Hash valueWhen you need a fingerprint, not a reversible encoding.Encrypt or signWhen the value must be encrypted or signed.
Example
Base64-encode a file name and its content for an API that expects both in one JSON body.
How it works
- Settings
- Operation: base64, base64url, URL, hex encode or decode, HTML escape or unescape, Bytes in a character set to text (the field holds base64 bytes), Text to bytes in a character set (written as base64), or Record id; Field; Character set for the two character-set operations; Into field.
- Output
- Each record with the result in the Into field. A record id is a UUID that is the same every time the run is replayed and different for every record, chunk and loop iteration.
Add it to a flow
- Open the flow from Build › Workflows.
- Open Nodes and find Encode under Transform, or search for it. Click it or drag it onto the canvas.
- Drag from the previous step's output handle to its input, then open its settings with ✎ Edit.
- Run the flow and click the step to see the records it received and produced.
More in Convert and format values
Hash valueCreates a SHA-256 or SHA-512 fingerprint of a field, or a signature with your key.Nodes › DataFormat dateReformats a date or time into the pattern a system expects.Nodes › DataConvert JSONConverts between records and JSON, CSV or XML text.Nodes › DataScrape websiteExtracts values from HTML with CSS selectors.Nodes › DataRender markdownTurns Markdown into safe HTML.Nodes › DataChunk textSplits long text into pieces for embeddings, knowledge search or an AI step.Nodes › AI