Skip to content

TextFilter

This mod removes blacklist symbols from signs, books, and when renaming items in an anvil.

Fabric
Loaders
Fabric
Downloads on Modrinth
789
Followers on Modrinth
2
versions
6
Updated
July 23, 2026Jul 23
Published
in 2024

At a glance

Runs on Fabric
For Minecraft 1.20.1–1.21.1, 1.21.6–1.21.11
Server only — players don't need to install it
Latest version — 1.0+1.21.10 from July 23, 2026
License MPL-2.0 — free
Where it's needed
In gamenot neededOn serverrequired

Install on the server only; players don't need it

Game versions1.20.1–1.21.1, 1.21.6–1.21.11

TextFilter

A Fabric mod that filters text in signs, books, anvil renaming, and chat messages.

Features

  • Regex filtering — whitelist and blacklist character patterns
  • Replacements — find-and-replace text substitutions (applied after regex filtering)
  • Chat filtering — server-side chat message modification
  • Config reload — in-game via /textfilter reload
  • Bypass permissions — per-category and global bypass

Config

Config file: config/textfilter.json

{
  "whitelist": "[\\u0020-\\u007e \\n § а-я іїєґ \\u00C0-\\u024F \\u2010-\\u2027 ≈≠∞±×÷€₴]",
  "blacklist": "[ыъэ]",
  "replacements": {
    "xd": "😂"
  }
}
  • whitelist — regex pattern of allowed characters
  • blacklist — regex pattern of characters to remove from the whitelist
  • replacements — key-value pairs for find-and-replace (applied after regex)

Unicode ranges reference

RangeBlockIncludes
\u0020-\u007eBasic LatinStandard ASCII (space, letters, digits, punctuation)
\u00C0-\u024FLatin-1 Supplement + Latin Extended-AAccented European letters (À-ÿ, Ă-ž), «»°±²³µ·¹º¼½¾¿×÷
\u2010-\u2027General PunctuationTypographic dashes, quotes, ellipsis (–—'"„…•‹›)

Interactive tool: regexr.com · Unicode blocks: compart.com
If whitelist is empty — all symbols will be deleted.
Allow all symbols by putting . as the whitelist.

Commands

CommandPermissionDescription
/textfilter reloadtextfilter.reload or OP level 4Reload config from disk

Permissions

PermissionDescription
textfilter.bypassBypass all text filtering
textfilter.signBypassBypass sign text filtering
textfilter.bookBypassBypass book text filtering
textfilter.anvilBypassBypass anvil rename filtering
textfilter.chatBypassBypass chat message filtering
textfilter.reloadUse /textfilter reload command

Uses fabric-permissions-api.
Manage permissions with LuckPerms or similar.


Support me here:

ko-fi monobank

FAQ

How to install TextFilter?

Install Fabric for your Minecraft version, download TextFilter for the same version and loader, put the file into the mods folder and launch the game with the loader profile.

Which Minecraft versions does TextFilter support?

TextFilter has builds for Minecraft 1.20.1–1.21.1, 1.21.6–1.21.11.

Is TextFilter needed on the server?

Server only — players don't need to install it

License and source
Mozilla Public License 2.0free to use and share; changes to the mod itself must be published under the same license
Original — Modrinth↗Files unchanged, verified with SHA-512Is this your mod? For rights holders

The site uses cookies: the necessary ones for sign-in and the theme, plus the Yandex Metrica and LiveInternet visit counters — they show us how the site is used. We have no advertising cookies. More