Free Tool

    i18next Message Formatter & Editor

    Format and test i18next strings with double-brace interpolation, plural suffixes (_one, _other), context keys, and nesting.

    Templates14
    I18NEXT Editor
    Valid Syntax
    40 characters1 lines

    Test Variables & Live Preview

    Adjust variables and switch languages to verify CLDR plural rules

    Locale:
    Rendered Output (en):
    Hello Sarah, welcome to our platform!
    Export to Intlayer Type-Safe Declaration
    import { type Dictionary } from 'intlayer';const convertedMessageContent = {  key: 'converted-message',  content: 'Hello {{name}}, welcome to our platform!',} satisfies Dictionary;export default convertedMessageContent;
    Intlayer validates translations at compile-time with full TypeScript autocomplete.

    i18next Syntax Cheat Sheet

    Quick syntax rules and how each pattern maps to Intlayer's type-safe declarations

    FeatureSyntaxExampleNotesIntlayer Equivalent
    Interpolation{{variableName}}Hello {{user.name}}!Double curly braces, supports dot paths{{user.name}}
    Unescaped HTML{{- rawVar}}Visit {{- url}}Disables HTML escaping for raw markuphtml(...) or Markdown
    Plural Keyskey_one, key_other"item_one": "1 item", "item_other": "{{count}} items"Suffix keys based on count parameterplural({ one: "1 item", other: "{{count}} items" })
    Context Suffixkey_context"friend_female": "Girlfriend"Key appended with context parameterselect({ female: "Girlfriend", fallback: "Friend" })
    Nesting$t(nested.key)Welcome, $t(common.brand)Reuses other translation keysDirect object property reuse in TS
    Formatting{{val, format}}{{date, YYYY-MM-DD}}Passes value through custom formattersStandard JavaScript/TypeScript helper
    Intlayer compiler-driven architecture replaces complex runtime message parsing with compile-time type-safety and automated extraction.
    Intlayer Ecosystem

    Never Worry About Complex Syntax Again

    Intlayer turns internationalization into a joyful developer experience with compile-time type-safety, automatic component extraction, and seamless CMS integration.