Blend the tofu in a food processor until completely smooth, paste-like.
Add salt and gradually add the flour, while mixing it in. Depending on how much water your tofu holds, you may need more or less. The dough should be soft and pliable, but not sticky.
Knead for 5–7 minutes until smooth. Cover and let it rest for 30 minutes at room temperature to relax the gluten.
Dust with flour and shape as desired. Use a pasta machine or roll and shape by hand.
Thick noodles (udon-style): roll to 5mm / ¼-inch thickness; cut into 1cm / ½-inch strips. Boil for 6–8 minutes in salted water until al dente.
Thin noodles (ramen-style): roll to 3mm / ⅛-inch thickness; cut into 3mm / ⅛-inch strips. Boil for 3–4 minutes in salted water until al dente.
Shaped pasta: press and drag small pieces against a ribbed board or fork to form gnocchi-like shapes. Boil for 3–4 minutes in salted water until al dente.
Dumplings: divide the dough into 24 equal pieces. Working with one piece at a time while keeping others covered, flatten each portion with your palm, then roll into a circle about 8–10cm / 3–4 inches in diameter. Fill and pan-fry or steam as desired.
