The traditional positioning system based on Global Positioning System (GPS) has provided a lot of convenience for people in the outdoor environment. With the continuous improvement of people's living standards in recent years, the indoor location is more and more popular in intelligent shopping malls and intelligent campus. The traditional GPS location accuracy is limited, so it cannot be used indoor. At present, indoor location technology mainly includes infrared, Bluetooth, Wi-Fi and wireless location which relates to indoor mobile network. Among them, wireless location technology is a research hotspot. Least Squares (LS) method, Chan algorithm and Taylor algorithm based on TDOA in UWB indoor positioning technology are analyzed and tested with dynamic and static data in indoor line-of-sight environment. Results show that the three positioning algorithms can achieve decimeter-level positioning accuracy, and the Taylor algorithm can achieve a 1-decimeter positioning accuracy.