--- title: "Get Bytes From String With Encoding" slug: "get-bytes-from-string-with-encoding" tags: ["bytes", "encode", "UTF-8", "UTF-16", "ascii"] updated: 2022-11-30T19:19:35Z published: 2022-11-30T19:19:35Z canonical: "documentation.decisions.com/get-bytes-from-string-with-encoding" --- > ## Documentation Index > Fetch the complete documentation index at: https://documentation.decisions.com/llms.txt > Use this file to discover all available pages before exploring further. # Get Bytes From String With Encoding | ## Step Details | | --- | | **Introduced in Version** | 4.0.0 | | **Last Modified in Version** | 5.0.0 | | **Location** | Data > Text | The **Get Bytes From String With Encoding** step converts the Source String input to the specified Encoding Name input and outputs a list of Bytes. --- ## Properties #### Inputs | Property | Description | Data Type | | --- | --- | --- | | Encoding Name | The desired encoding type to use (e.g. utf-8, utf-16, ascii) | String | | Source String | String to extract bytes from | String | #### Outputs | Property | Description | Data Type | | --- | --- | --- | | Output | Bytes from string | List of Byte | #### ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1669835342047.png) ## Related - [Get UTF 8 Bytes From String](/get-utf-8-bytes-from-string.md) - [Get String From UTF](/get-string-from-utf.md) - [Strip Non Ascii Characters from String](/strip-non-ascii-characters-from-string.md) - [Html To Ascii With Options Step](/html-to-ascii-with-options-step.md) - [Html To Ascii Step](/html-to-ascii-step.md)