--- title: "Get String from Bytes and Bytes from String" slug: "string-from-bytes" tags: ["csv", "string builder"] updated: 2024-10-23T21:26:01Z published: 2024-10-23T21:26:01Z canonical: "documentation.decisions.com/string-from-bytes" --- > ## 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 String from Bytes and Bytes from String | ## Step Details | | --- | | **Introduced in Version** | --- | | **Last Modified in Version** | 7.12.0 | | **Location** | Data > Text | The **Get Bytes from String** step takes in a string and converts it to a byte array which is output as a result. The **Get String from Bytes** step takes in a byte array and converts it to a string which is output as a result. These steps use ASCII encoding - that means that only ASCII characters will be accepted. Any inputs that use accented characters or non-Latin characters will have those replaced by a '?' symbol. This will cause issues. Other steps that can used instead are the [Get String From Bytes With Encoding](https://documentation.decisions.com/step-library/docs/get-string-from-bytes-with-encoding) and [Get Bytes From String With Encoding](https://documentation.decisions.com/step-library/docs/get-bytes-from-string-with-encoding). --- ## Get Bytes from String Properties #### Inputs | Property | Description | Data Type | | --- | --- | --- | | Str | String to get bytes from. Only accepts ASCII characters. | String | #### Outputs | Property | Description | Data Type | | --- | --- | --- | | GetBytesFromString1_Output | List of Bytes that was retrieved from the String as input. | List of Byte | --- ## Get String from Bytes Properties #### Inputs | Property | Description | Data Type | | --- | --- | --- | | Bytes | List of Bytes to get the string from. Only returns ASCII characters. | List of Byte | #### Outputs | Property | Description | Data Type | | --- | --- | --- | | GetStringFromBytes1_Output | The string that was retrieved from the List of Bytes as input. | String | #### ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/2022-10-24_13h19_13.png)