AdSCollapse is a code to solve partial diﬀerential equations resulting from the equations of motion of gravitational collapse in asymptotically AdS spacetimes of a minimally coupled scalar ﬁeld with arbitrary potential in any dimension.