Optical vortex orbital angular momentum modes, namely the twists number of the light does in one wavelength, play a critical role in quantum-information coding, super-resolution imaging, and high-precision optical measurement. Here, we present the identification of the orbital angular momentum modes based on spatial self-phase modulation in rubidium atomic vapor. The refractive index of atomic medium is spatially modulated by the focused vortex laser beam, and the resulted nonlinear phase shift of beam directly related to the orbital angular momentum modes. The output diffraction pattern carries clearly distinguishable tails, whose number and rotation direction correspond to the magnitude and sign of the input beam orbital angular momentum, respectively. Furthermore, the visualization degree of orbital angular momentums identification is adjusted on-demand in the terms of incident power and frequency detuning. These results show that the spatial self-phase modulation of atomic vapor can provide a feasible and effective way to rapidly readout the orbital angular momentum modes of vortex beam.