Drain the tofu and press it to remove excess moisture. Wrap in a clean kitchen towel and place a heavy object on top for 15-30 minutes.
Cut the pressed tofu into bite-sized cubes, aiming for 1-inch pieces.
In a mixing bowl, whisk together the soy sauce, rice vinegar, sesame oil, garlic powder, and onion powder.
Add the cubed tofu to the bowl with the marinade and toss gently. Marinate for at least 15 minutes.
Sprinkle cornstarch over the marinated tofu and toss gently to coat.
Preheat air fryer to 400°F (200°C) for 5 minutes.
Arrange tofu in a single layer in the air fryer basket. Air fry for 15-20 minutes, flipping halfway, until golden brown and crispy.
Let tofu cool slightly before serving. Enjoy it on its own, in salads, or stir-fries!