Code2flow is an online code to flowchart converter. So you can either copy paste your code on the console to the right, or type it down and a flowchart will be generated. It goes through the code and picks up syntax ) at the end of a statement and creates a new block in the the flowchart. It also picks up functions definitions and calls to generate a flowchart to help you look at the overall logic and organization of your code.
Sadly it doesn’t do the reverse i.e. converting a flowchart into code! Check it out here