Updated Jul 14, 2026

Utilities

Write an inline string to a file for downstream nodes

Workflow utility that writes a string to a file artifact.

Agent

overview

What string-to-file does

string-to-file takes one string and writes it to a FILE (plus FOLDER). Multi-line text becomes a multi-line file, so a handful of hosts or paths is a seed list in one step.

Operators use it when a downstream tool expects a file but the value is still a typed literal: one domain, a short config, a header block, or a tiny wordlist.

It is plumbing, not a scanner. Place it upstream of nodes that read a target file from disk (nuclei, masscan, ffuf). Prefer anew when you need to append and dedupe many files instead of writing one.

use cases

Where string-to-file fits

Seed a scan with one target

Write a single domain, URL, or IP to a file so a scanner that reads targets from disk can run without a separate input node.

Supply an inline config or header

Turn a short config, header block, or template into a file for a node that reads its settings from disk, without checking a file into a repo.

Create a small wordlist on the fly

Paste a handful of paths or words as a multi-line string to drive ffuf or another fuzzer without sourcing and mounting a full wordlist.

Bridge a literal into a file pipeline

Convert a typed value into a FILE artifact so downstream file-consuming nodes connect cleanly in the graph instead of expecting a raw string.

reference

string-to-file inputs and flags

1 inputs
NameTypeFlagDescription
stringSTRING·The string to write to the output file. Multi-line text is written line for line, so it doubles as a quick target list or wordlist.

Showing key inputs. string-to-file exposes 1 inputs in total.

example

Run string-to-file

string-to-file · command
# write a small seed list to a file the next node reads (nuclei -l, ffuf -input-file)string-to-file "example.comapp.example.comapi.example.comstaging.example.com198.51.100.10198.51.100.11203.0.113.5"
sample output
$ cat out.txtexample.comapp.example.comapi.example.comstaging.example.com198.51.100.10198.51.100.11203.0.113.5

guidance

Choosing string-to-file

Reach for string-to-file whenever a downstream node needs a FILE but you only have a literal string. It is plumbing, not a scanner. For combining or deduplicating many files instead of writing one, use a list utility like anew.

anew

Appends only new, unique lines to a file. Use it to grow a list; string-to-file creates one from a literal.

assert-tool

Small workflow utility that validates a condition rather than materializing a string as a file.

faq

string-to-file questions

Add the string-to-file node, set its string input to the text you want, and wire its FILE output into the next node. There is no flag; the value you type becomes the file contents.

Run string-to-file yourself

A string feeds string-to-file, which writes it to disk as a file artifact the rest of the workflow can read.

Facts on this page come from the live Trickest tool library.