Brainfrick – Brainfuck in Go.

this is a golang module for converting text to and from brainfuck.


To add this to your project, run:

go get

Note that you have to first initialize your golang project:

go mod init <your project home>

Next, run:

go mod tidy

just import the module in your project and you’re good to go!

package main

import ""


How to use

To convert brainfuck to text, you can call:


this will return the ascii letter H.

you may also convert text to brainfuck code with:


this will return the following brainfuck code:


Have fun!


View Github