UnFrakturPad
The cleanup half of the fraktur trick
- plain_text
If Frakturpad is the trick, UnFrakturPad is the cleanup. It takes text that has been rewritten into Unicode bold fraktur and padded with word joiners, and converts it back to plain ASCII - the 𝕱𝖗𝖆𝖐𝖙𝖚𝖗 becomes "Fraktur" again. It's the inverse of the same pack's Frakturpad node, and it exists for the unglamorous but real job of getting your original text back.
How it works
Two passes, straight from the source:
- Strip the joiners. Every word joiner character (
U+2060) is removed. Because Frakturpad inserts a joiner between every adjacent pair of characters and at both ends, this pass alone already turns "𝖈𝖆𝖙" back into a contiguous string - of fraktur glyphs. - Map the fraktur back. The Mathematical Bold Fraktur block is decoded:
U+1D56CthroughU+1D585map back toA–Z, andU+1D586throughU+1D59Fmap back toa–z.
The node takes one multiline text input and outputs plain_text. Wire the fraktur-padded string in, get the readable original out.
When you'd use it
Three realistic cases. The obvious one: you pasted a fraktur-padded prompt into a workflow and want the clean version for a second node (a filename, a note, a log). The less obvious one: this node also cleans joiner-only padding - since removing U+2060 is a no-op on ordinary letters, UnFrakturPad doubles as the undo button for the pack's simpler Joiner Padding node too. And the sneaky one: if you share workflows, this is how you recover a prompt that someone obfuscated before sharing, so you can actually read what they typed.
Limitations worth knowing
It only decodes the bold fraktur block, plus joiners. Italic math letters, emoji, CJK, or any other Unicode pass through untouched - from_bold_fraktur is a narrow mapping, and that's by design. Also, if the fraktur text has already been mangled by a unicode-normalizing layer (some platforms strip or convert those codepoints), there's nothing to decode and you'll get back the mangled version. Garbage in, garbage out applies to unicode tricks too.
Install
Same pack, same routine - ComfyUI Manager → ComfyUI_SamplingUtils, or:
cd ComfyUI/custom_nodes
git clone https://github.com/silveroxides/ComfyUI_SamplingUtils
then restart. The pack is marked DEPRECATED in its README (the author now points to ComfyUI-UtilsCollection), and the text-edit nodes are the family most likely to be renamed when that migration happens - worth knowing if you build this into a saved workflow.
Inputs (1)
| Name | Type | Default | Description |
|---|---|---|---|
| text | STRING | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| plain_text | STRING | — |