This protocol demonstrates the use of a microfluidic channel with changing geometry along the fluid flow direction to generate extensional strain (stretching) to align fibers in a 3D collagen hydrogel (<250 µm in thickness). The resulting alignment extends across several millimeters and is influenced by the extensional strain rate.