Convert square brackets into curly brackets

Please log in or register to do it.

This tool converts square brackets into curly brackets. It provides flexible options so you can convert every square bracket, convert only those you specify, convert all except allowed ones, or replace square brackets with a custom replacement. Simply enter your text and select the processing mode that suits your needs.

Processing Modes:


Replaces every "[" with "{" and every "]" with "}".

Only converts square brackets that exactly enclose specified substrings. Enter a comma‑separated list (e.g., test, sample).

Converts every square bracket except those enclosing allowed substrings. Enter a comma‑separated list (e.g., keep, preserve).

Replaces every square bracket using your custom replacement. Enter the custom replacements for the left and right brackets separated by a pipe (e.g.,  ( | )).

Examples:

Convert All Square Brackets

Every square bracket is converted.

Before:
This is a [test] string.
After:
This is a {test} string.

Convert Only Specified Square Brackets

Only square brackets enclosing the specified substrings are converted.

Before:
Convert [test] and [sample] but leave [ignore] intact.
After (specifying "test, sample"):
Convert {test} and {sample} but leave [ignore] intact.

Convert All Except Allowed Square Brackets

Converts every square bracket except those enclosing allowed substrings.

Before:
Keep [keep] unchanged but convert [convert] this.
After (allowing "keep"):
Keep [keep] unchanged but convert {convert} this.

Replace with Custom Replacement

Uses your custom replacement for both left and right brackets.

Before:
Replace [example] in your text.
After (using custom replacement "<"|">"):
Replace  in your text.
Convert quoted text into a simple list

Your email address will not be published. Required fields are marked *