Sign up free

Translate TXT, Markdown and HTML Files

Translate text, Markdown and HTML files while code, links and tags stay exactly as written.

or drop files here

Accepts TXT, MD, HTML

Encrypted upload. Files are deleted automatically after 1 hour.

About Translate TXT, Markdown and HTML

Translate Markdown, HTML and plain text files without breaking what makes them work. A README, a documentation page, a blog post written in Markdown or an HTML email template is full of code, links and markup that must not change. The prose is translated while code blocks, inline code, URLs and HTML tags are protected, so the file still renders the same way. For locale files in JSON, YAML or PO, use Translate JSON and PO Files, which keeps every key.

Upload a .txt, .md or .html file and choose the language under Translate to. Result can be Both languages, which keeps each paragraph and adds its translation underneath, handy for bilingual docs and study notes. Preview the rendered page once before you publish.

How to use Translate TXT, Markdown and HTML

  1. 1
    Upload the file

    Choose a TXT, MD or HTML file, or drop it on the page.

  2. 2
    Pick the language

    Select Translate to, and Translation only or Both languages under Result.

  3. 3
    Start the translation

    Press Translate TXT, Markdown and HTML. The text is translated and the markup is left alone.

  4. 4
    Preview the result

    Open the file in your editor or browser and check how it renders.

Why use Cubfile for this

  • Code and links protected

    Code blocks, inline code and URLs come back exactly as they were.

  • HTML tags untouched

    Tags stay as written and only the text between them changes, so the page structure holds.

  • Bilingual option

    Keep the original paragraph and add the translation under it.

  • Three file types

    Plain text, Markdown and HTML, all on one page.

FAQ

Translate TXT, Markdown and HTML: questions and answers

Will code blocks change when I translate Markdown?
No. Code blocks, inline code and links are protected, so commands and snippets stay exactly as you wrote them.
Can I translate HTML pages without breaking the tags?
Yes. Tags are protected and only the text between them is translated, so the page keeps its structure. Image alt text and titles are translated too. For DOCX files, Translate Word keeps headings, tables and images the same way.
How do I keep a word from being translated?
In HTML, wrap it in an element with translate="no" or class="notranslate", and it's left exactly as written. In Markdown, put it in `inline code`.
Is it free?
Free accounts can translate 2 files a day, up to 50 MB and 40,000 characters each. VIP has no daily limit.
Are my files private?
Yes. Uploads are encrypted, every job runs separately, and files disappear automatically after one hour. They're never used to train AI.
Share Translate TXT, Markdown and HTML with a friendIt runs in any browser, and they can try it without signing up.

Related tools

DOC Document TranslatorTranslate PDF, Word, Excel, PPT, subtitles, e-books and more, layout kept.
TXT Text TranslatorTranslate text between 70 languages, with voice input and read-aloud.
PDF Translate PDFTranslate PDFs into another language with the layout kept.
PDF Bilingual PDF TranslatorSoonGet the original and the translation side by side, paragraph by paragraph.
JPG Translate ImageSoonTranslate the text in images and screenshots and put it back in place.
SRT Translate SubtitlesTranslate SRT, VTT and ASS subtitles with timing intact, bilingual if you like.
DOC Translate WordTranslate Word documents with styles, tables and images intact.
MP3 Voice TranslatorSpeak and hear the translation; a two-way conversation mode for travel and meetings.