HamsterSpeak code formatter

Input a hamsterspeak snippet and hit 'Submit', and it will be indented and syntax-highlighted. Use the indentation to find missing or extra brackets.



Source code is here. It's really ugly. Sorry.