You touch a piece of rope no longer than 60 feet in length. One end of the rope will rise upward until the entire rope is hanging perpendicular to the ground. There is an invisible portal at the top of the rope that leads to an alternate dimension that exists for the duration of the spell.

Rope Trick 5e

Level: 2nd

Classes: Wizard

Casting Time: 1 Action

Range: Touch

Components: V, S, M

Duration: 1 hour

This alternate dimensional space can be accessed from the top of the rope and can hold up to eight creatures of medium size or smaller within it. The magic rope can be pulled back into this space, at which point the rope is no longer visible from outside the other dimensional space.

Neither attacks nor spells can enter or exit through the entrance to the other dimensional space, but creatures inside the space can see outside through the entrance as if there were a 3-foot x 5-foot window at the rope’s location.

When the spell terminates, everything in the alien dimension falls out.