Rope Trick
You touch a rope. One end of it hovers upward until the rope hangs perpendicular to the ground or the rope reaches a ceiling. At the rope's upper end, an Invisible 3-foot-by-5-foot portal opens to an extradimensional space that lasts until the spell ends. That space can be reached by climbing the rope, which can be pulled into or dropped out of it.
The space can hold up to eight Medium or smaller creatures. Attacks, spells, and other effects can't pass into or out of the space, but creatures inside it can see through the portal. Anything inside the space drops out when the spell ends.
Rope Trick 5e 2024 vs. 2014 edition differences
The 2024 version clarifies the portal can open if the rope reaches a ceiling or hangs perpendicular, and explicitly states the portal is invisible. It also states the rope can be pulled into or dropped out of the space, whereas the 2014 version only mentions pulling the rope into the space.