A vortex-based line beam, which has a straight-line shape of intensity and possesses phase gradient along the line trajectory is developed and applied for optical manipulation in this paper. The intensity and phase distributions of the beam in the imaging plane of the Fourier transform are analytically studied. Simulation results show that the length of the line and phase gradient possessed by a vortex-based line beam are dependent on the topological charge and the azimuthal proportional constant. A superposition of multiple phase-only holograms with elliptical azimuthal phases can be used to generate an array of vortex-based line beams. Optical trapping with the vortex-based line beams has been implemented. Furthermore, the automatic transportation of microparticles along the line trajectory perpendicular to the optical axis is realized with an array of the beams. The generation method for the vortex-based line beam is simple. The beam would have potential applications in fields such as optical trapping, laser machining, and so on.