HTML i18n Trans Tool

Automatically add Django {% trans %} tags to your HTML files for internationalization

Upload HTML File

Drag & drop an HTML file or click to browse

Drop your HTML file here

or click to browse files

Supports .html and .htm files

Paste HTML Code

Paste your HTML code directly and get the processed result

How it works

Purpose: This tool automatically wraps text content in HTML elements with Django's {% trans %} tags for internationalization.

Process: The tool scans your HTML and adds translation tags around text content while preserving the HTML structure.

Note: After processing, don't forget to add {% load i18n %} at the top of your Django template.

Example: <h1>Hello World</h1> becomes <h1>{% trans "Hello World" %}</h1>

Important: Always make a backup of your original HTML file before processing. Please verify that your processed HTML template is correct before using it in production. If you encounter any errors or issues, please contact us using our contact form or by email.