HK-47 is a fictional robot character in the 2003 video game Star Wars: Knights of the Old Republic, its sequel, Star Wars: Knights of the Old Republic II – The Sith Lords, the Trials of Obi-Wan expansion pack to the massively multiplayer online game Star Wars Galaxies, and the MMORPG Star Wars: The Old Republic. HK-47 was voiced by Kristoffer Tabori. HK-47 has been positively received for his characterisation and humour.
A BioWare developer posted to the company's forum that HK-47 is named in homage of a dropship in Shattered Steel. However, Knights of the Old Republic lead writer Drew Karpyshyn claimed the name derived from his billiards team's name, which in turn was partially derived from the AK-47.
In Knights of the Old Republic, the player's character purchases HK-47 on Tatooine. Dialogue establishes that Revan built the bloodthirsty droid, which characteristically refers to organic lifeforms as "meatbags".
HK-47 is disabled at the beginning of The Sith Lords; the player's character recovers material from damaged droids to repair HK-47. Dialogue in The Sith Lords expands on the droid's backstory and purpose, establishing that Revan used the droid to kill people who destabilized or weakened the galaxy.