Parentheses Balance Checker

Check whether every opening bracket, parenthesis and brace in a piece of text has a matching closing one. It lists any unmatched, mismatched or unclosed brackets with their character positions.

1 Paste or type your text

2 Your answer

Your answer shows here as you type.

How to use the Parentheses Balance Checker

  1. Paste or type the text, code or formula into the box.
  2. Read the result: Balanced means every bracket has a matching partner in the right order.
  3. Use the character positions listed under each problem type to find and fix the bracket.

Frequently asked questions

What counts as a bracket in this checker?

Round brackets ( ), square brackets [ ] and curly braces { } are all checked. Each opening bracket must be closed by the same type of bracket, in the correct nested order.

What does a mismatched pair mean?

A mismatched pair happens when a closing bracket does not match the most recent open bracket, for example ( followed by ]. The checker reports both positions so you can see which pair is wrong.

Are positions counted from the start of the text?

Yes. Positions start at 1 for the first character and count every character, including spaces and line breaks.

Wrote something with AI? Slop Monkey rewrites it so it sounds like you, and keeps your facts.