While there is a possibility that it might be a 2SC547B, the photographic evidence online much more strongly suggests that it is a BC547B.
IME, it is rather rare for Asian number transistors (2S...) to be reverse-printed like that. It is much more common in European transistors (BC....)
And there are photos online that show BC547B that look identical to yours except for the date-code (the second line).
We might even be able to suggest sources if you had completed your user profile to at least reveal what country you are in?
?
But, as Mr. Watson said, probably most any random NPN small-signal transistor would work in that non-critical application.