Most grammar checkers use top-quality encryption to keep any stored data safe from outside access. If you’re worried about the grammar checking tool itself, look for either an offline tool or any tool that doesn’t save documents or text you run through it. These will most likely be copy/paste editors, not those that allow document imports/exports.