Skip to main content

Translate SRT files with Google Translate

Workflow preview

Workflow preview
100%
Translate SRT files with Google Translate preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

This workflow is designed to translate SRT subtitle files from one language to another using Google Translate. The workflow follows these main steps: 1. Accept an SRT file upload and target languag...

Best for

  • Content Creation automation workflows
  • Multimodal AI automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.splitout, n8n-nodes-base.googletranslate, n8n-nodes-base.aggregate, n8n-nodes-base.set, n8n-nodes-base.converttofile, n8n-nodes-base.code, n8n-nodes-base.form, n8n-nodes-base.formtrigger

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by DanielV.

Original n8n.io source

1.1 Workflow description

Title
Translate SRT files with Google Translate
Workflow name
Translate SRT files with Google Translate

This workflow is designed to translate SRT subtitle files from one language to another using Google Translate.

The workflow follows these main steps:

  1. Accept an SRT file upload and target language selection
  2. Extract and parse the SRT file content
  3. Split the content into translatable segments
  4. Translate each segment using Google Translate
  5. Reassemble the translated content into a proper SRT format
  6. Return the translated file to the user

You'll need a Google Console Cloud account to access the Translate API.

Who is this for?

This workflow is designed for content creators, video editors, translators, and anyone who needs to translate subtitle files (.srt) from one language to another. It's particularly useful for those working with international content, educational materials, or preparing videos for global audiences.

What problem does this workflow solve?

Translating subtitle files manually is time-consuming and error-prone. Professional translation services can be expensive, especially for multiple videos or long content. This workflow automates the translation process while maintaining the proper SRT format including timestamps and subtitle numbering.

Setup

  • Set up Google Translate credentials: -- Create a Google Cloud project and enable the Google Translate API -- Create OAuth credentials and configure them in the Google Translate node
  • Customize language options: -- The default workflow includes English (EN) and Japanese (JP) options -- Add more language options by editing the dropdown field in the "Receive SRT File to Translate" node -- Use standard language codes that Google Translate supports
  • Add more languages: -- Edit the form trigger node to include additional language options in the dropdown

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Split Out

Type / Role
n8n-nodes-base.splitOut - splitOut
Config choices
Version 1

Block 2 - Google Translate

Type / Role
n8n-nodes-base.googleTranslate - googleTranslate
Config choices
Version 2

Block 3 - Aggregate

Type / Role
n8n-nodes-base.aggregate - aggregate
Config choices
Version 1

Block 4 - Edit Fields

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 5 - Convert to File

Type / Role
n8n-nodes-base.convertToFile - convertToFile
Config choices
Version 1.1

Block 6 - Split SRT Lines

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 7 - Generate Binary

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 8 - Prep Parts for Translate

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 9 - Clean Translations & Group Titles

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 10 - Join completed text with double new line

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 11 - Respond with file

Type / Role
n8n-nodes-base.form - form
Config choices
Version 1

Block 12 - Receive SRT File to Translate

Type / Role
n8n-nodes-base.formTrigger - formTrigger
Config choices
Version 2.2

Block 13 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 14 - Extract text from Binary File

Type / Role
n8n-nodes-base.extractFromFile - extractFromFile
Config choices
Version 1

Block 15 - Expose Binary

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

3. Summary Table

Workflow Translate SRT files with Google Translate
Complexity advanced
Nodes 15
Categories Content Creation, Multimodal AI
Author DanielV
Published 20 Apr 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/3620/3620.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Translate SRT files with Google Translate do?

This workflow is designed to translate SRT subtitle files from one language to another using Google Translate. The workflow follows these main steps: 1. Accept an SRT file upload and target languag...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Content Creation, Multimodal AI use case.