Text.EncodeBytesToBase64
------------------------

Encodes string with byte values to base 64.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Text](component_Text.md) | [3.0](newinversion30.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "Text.EncodeBytesToBase64"; Text ) 

**MBS**( **"Text.EncodeBytesToBase64";** /\* Encodes string with byte values to base 64. \*/  
**$Text**) /\* The text to process.e.g. "65 66 67" \*/ 

(old name: String.EncodeBytesToBase64)

### Parameters

| Parameter | Description | Example |
|---|---|---|
| Text | The text to process. | "65 66 67" |

### Result

Returns base64 encoded text.

### Description

Encodes string with byte values to base 64.  
### Examples

Encode ABC:

 MBS ( "Text.EncodeBytesToBase64"; "65 66 67" )  
<small>  
Example result: QUJD</small>### See also

- [Text.DecodeBytesFromBase64](TextDecodeBytesFromBase64.md)
- [Text.EncodeHexToBase64](TextEncodeHexToBase64.md)
- [Text.EncodeToBase64](TextEncodeToBase64.md)

### Example Databases

- [Text functions/Encode Bytes as Base64](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Text%20functions/Encode%20Bytes%20as%20Base64.shtml#12910FieldAnchor_)

### Blog Entries

- [MBS Filemaker Plugin, version 3.0pr8](https://www.mbsplugins.de/archive/2012-11-14/MBS_Filemaker_Plugin_version_3/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

Created 18th August 2014 , last changed 11st December 2016

  
[Text.Deserialize](TextDeserialize.md) - [Text.EncodeEmailSubject](TextEncodeEmailSubject.md)

[HTML Version](TextEncodeBytesToBase64.shtml)