The invention relates to the field of excavators, in particular to a portable excavator. The portable excavator comprises a bottom plate, an excavating device, a moving device, a driving device, a soil shoveling device and a controller, wherein the moving device is arranged at the bottom of the bottom plate, the driving device is arranged at the rear end of the bottom plate, and the driving deviceis in transmission connection with the moving device; the excavating device comprises an excavating mechanism, a driving mechanism and a guiding mechanism, a through hole is formed in the middle of the bottom plate, the guide mechanism is arranged around the through hole, the excavating mechanism is arranged on the driving mechanism and the guide mechanism, four balancing devices are arranged onthe bottom plate, the soil shoveling device is installed at the front end of the bottom plate, a first cover cap is arranged beside the guide mechanism, a storage battery pack is arranged in the firstcover cap, and the storage battery pack, the excavating mechanism, the driving mechanism, the driving device, the soil shoveling device and the balancing device are electrically connected with the controller. The portable excavator can be automatically moved and does not need to be carried by workers, the whole equipment can keep the horizontal state during excavating operation, and soil blocks can be moved away through the soil shoveling device.