Convert file into base64 string format

Nghiem Huy Hoang (DPS.MS3) 25 Reputation points
2023-10-06T03:16:27.65+00:00

Hi all,

A customer asked me:

Are the files converted into Base64 String format and stored in the database?

Can you give me some proofs to this point?

Thanks a lot

Microsoft 365 and Office SharePoint Development
Microsoft 365 and Office SharePoint For business Windows
{count} votes

Accepted answer
  1. Yanli Jiang - MSFT 31,596 Reputation points Microsoft External Staff
    2023-10-09T07:59:02.2133333+00:00

    Hi @Nghiem Huy Hoang (DPS.MS3) ,

    Which version of SharePoint are you using?

    SharePoint Online stores files in their original format and does not convert them into Base64 string format.

    Please refer to:

    https://learn.microsoft.com/en-us/compliance/assurance/assurance-encryption-for-microsoft-365-services#sharepoint-online-and-onedrive-for-business

    https://learn.microsoft.com/en-us/power-platform-release-plan/2021wave2/power-automate/convert-base64-encoded-text-file-vice-versa#business-value

    Hope this helps.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


1 additional answer

Sort by: Most helpful
  1. Nghiem Huy Hoang (DPS.MS3) 25 Reputation points
    2023-10-11T03:49:22.61+00:00

    Hi @SSingh-MSFT , @Dillon Silzer

    Sorry for late reply. My product is running on sharepoint on -premises 2016 and the database is Ms Sql server.

    My customer didn't provide any information about the file type so can you show we which ones can convert or not?

    Can you give me some sources about it?

    Thanks a lot

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.