The ship was the only ship of the U.S. Navy to be named for the giraffe, a large ruminant mammal of Africa, having a very long neck that makes it the tallest of quadrupeds. Her keel was laid down as Sanford B. Dole by the California Shipbuilding Corporation, in Wilmington, California. She was launched on 11 November 1943 sponsored by Miss Mary F. Leddy and commissioned on 12 December 1943 with Lieutenant Commander Frederick F. Daly, USNR, commanding.
Following shakedown, Giraffe put in at Funafuti, Ellice Islands, on 10 February 1944 and subsequently refueled warships at Eniwetok, Saipan, Guam, Ulithi, and Palau before reaching Okinawa on 21 July 1945. She entered Sasebo, Japan, on 20 November at war's end and served the occupation fleet until departing Yokosuka on 21 February 1946 for Pearl Harbor and Norfolk, Virginia. Giraffe reached Norfolk 3 May and decommissioned there 17 June 1946. Returned to the War Department that date, she was stricken from the Naval Vessel Register on 3 July 1946. She was subsequently sold to Metro Petroleum Shipping Company, Inc.
Giraffe was awarded two battle stars for World War II service.