A kind of portable optical fiber tester, which can both measure optical power within 0 ~ - 60 dBm and transmit digital signal within 0~‐45 dBm or audio frequency signal within 0 ~‐50 dBm, is introduced. And its design principle and realizing method are elaborated. The testing result is proved to be very precise.