--- title: "Web translation" slug: "ai-naver-papagowebsitetranslation-translation" tags: ["Papago Translation"] updated: 2026-09-17T09:35:51Z published: 2026-09-17T09:35:51Z canonical: "api.ncloud-docs.com/ai-naver-papagowebsitetranslation-translation" --- > ## Documentation Index > Fetch the complete documentation index at: https://api.ncloud-docs.com/llms.txt > Use this file to discover all available pages before exploring further. # Web translation Available in Classic and VPC Translate all or specific areas of the HTML document that makes up a website into another language. Note Please note the following before use: - Text with images cannot be translated. - Some styles applied to text may not match or may be omitted. - Some links or actions applied to the text may not work or may be omitted. - HTML parameter size limit exists: 200,000 bytes including all characters including UTF-8-based tags, spaces, etc. - Larger HTML parameter sizes result in slower responses, so we recommend requesting element in the translation area. - See [Website Translation examples](/docs/en/ai-naver-papagowebsitetranslation). - Recommended maximum characters per call: 60,000 characters - Recommended maximum characters per minute: 3,600,000 characters - Billing: All characters counted, including tags and spaces. ## Request This section describes the request format. The method and URI are as follows: | Method | URI | | --- | --- | | POST | /translate | ### Request headers For information about the headers common to all Papago Translation APIs, see [Papago Translation request headers](/docs/en/ai-naver-papagonmt#%EC%9A%94%EC%B2%AD%ED%97%A4%EB%8D%94). ### Request body You can include the following data in the body of your request: | Field | Type | Required | Description | | --- | --- | --- | --- | | `source` | String | Required | Language code of the source text - `auto` (automatic language detection) \| `ko` (Korean) \| `en` (English) \| `ja` (Japanese) \| `zh-CN` (Chinese (Simplified)) \| `zh-TW` (Chinese (Traditional)) \| `vi` (Vietnamese) \| `th` (Thai) \| `id` (Indonesian) \| `fr` (French) \| `es` (Spanish) \| `ru` (Russian) - For information about language pairs for which translation is supported, see [Languages supported for translation](/docs/en/ai-naver-papagowebsitetranslation-translation#%EB%B2%88%EC%97%AD%EC%A7%80%EC%9B%90%EC%96%B8%EC%96%B4). | | `target` | String | Required | Language code of the target text - `ko` (Korean) \| `en` (English) \| `ja` (Japanese) \| `zh-CN` (Chinese (Simplified)) \| `zh-TW` (Chinese (Traditional)) \| `vi` (Vietnamese) \| `th` (Thai) \| `id` (Indonesian) \| `fr` (French) \| `es` (Spanish) \| `ru` (Russian) - For information about language pairs for which translation is supported, see [Languages supported for translation](/docs/en/ai-naver-papagowebsitetranslation-translation#%EB%B2%88%EC%97%AD%EC%A7%80%EC%9B%90%EC%96%B8%EC%96%B4). | | `glossaryKey` | String | Optional | Glossary ID - Customized translation is applied based on the glossary data. - Korean ⇔ English, Korean ⇔ Japanese, Korean ⇔ Chinese (Simplified), Korean ⇔ Chinese (Traditional), Korean ⇔ French, English ⇔ Japanese, English ⇔ Chinese (Simplified), English ⇔ Chinese (Traditional), English ⇔ Vietnamese, English ⇔ Thai, English ⇔ Indonesian, English ⇔ French, Japanese ⇔ Chinese (Simplified), Japanese ⇔ Chinese (Traditional) | | `html` | String | Required | Element of the entire HTML document or specific areas to translate - Up to 200,000 bytes can be entered (including UTF-8-based tags and spaces). | Note Even without specifying the source language (specified to `auto`), it automatically detects the language and provides a translation result. In this case, additional fees do not incur for detecting languages but only for the number of characters requested for translation. #### Languages supported for translation The following describes the supported languages for translation. | Supported language | Translation direction | Supported language | | --- | --- | --- | | Korean | ⇔ | English, Japanese, Chinese (Simplified), Chinese (Traditional), Vietnamese, Thai, Indonesian, French, Spanish, Russian | | English | ⇔ | Korean, Japanese, Vietnamese, Thai, Indonesian, French | | Japanese | ⇔ | Korean, English | | Chinese (simplified) | ⇔ | Korean | | Chinese (traditional) | ⇔ | Korean | ### Request example The request example is as follows: #### When the entire HTML document is translated The following is a sample request for translating an entire HTML document. ``` curl --location --request POST 'https://papago.apigw.ntruss.com/web-trans/v1/translate' \ --header 'X-NCP-APIGW-API-KEY-ID: {Client ID issued when registering the app}' \ --header 'X-NCP-APIGW-API-KEY: {Client secret issued when registering the app}' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --data-urlencode 'source=auto' \ --data-urlencode 'target=ja' \ --data-urlencode '
안녕하세요. 파파고입니다.
'\''
Hello, I'm Papago.
%' ``` #### When the element in a specific area are translated The following is a sample request for translating an element in a specific area. ``` curl --location --request POST 'https://papago.apigw.ntruss.com/web-trans/v1/translate' \ --header 'X-NCP-APIGW-API-KEY-ID: {Client ID issued when registering the app}' \ --header 'X-NCP-APIGW-API-KEY: {Client secret issued when registering the app}' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --data-urlencode 'source=auto' \ --data-urlencode 'target=ko' \ --data-urlencode 'html= Example ' ``` ## Response This section describes the response format. ### Response body The response body includes the following data: | Field | Type | Required | Description | | --- | --- | --- | --- | | status_code | Integer | - | Response status | | data | String | - | Element in the entire translated HTML document or in a specific area | ### Response status codes For information about the HTTP status codes common to all Papago Translation APIs, see [Papago Translation response status codes](/docs/en/ai-naver-papagonmt#%EC%9D%91%EB%8B%B5%EC%83%81%ED%83%9C%EC%BD%94%EB%93%9C). ### Response example The response example is as follows: #### When the entire HTML document is translated The following is a sample response for translating an entire HTML document. ```
こんにちは。パパゴです。
'\''
Hello, I'm Papago.
% ``` #### When the element in a specific area are translated The following is a sample response for translating an element in a specific area. ``` Example ```