Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Frequent Visitor

How to Decode a Base64 Encoded Bookmark

I am using this library,, to embed reports and handle bookmarks. I am calling capture() from the bookmarksManager object on my report. This returns a bookmark with the state. The state is a base64 encoded string. I am trying to decode the string for testing purposes, but I can't get it to decode correctly. I have used Mime tools in Notepad++ and various online decoders, but they all return gibberish.


Is there a trick to decoding base64 encoded bookmark states?

Community Support
Community Support

Hi @Log4TurtleShell ,

Please review the following links, hope they can help you.

Base64 encoding and decoding in client-side Javascript

How do I decode a Base64 encoded string in JavaScript?


Base64 Decode a Value in Node.js

const plain = Buffer.from('dXNlcm5hbWU6cGFzc3dvcmQ=', 'base64').toString('utf8')  

Best Regards

Community Support Team _ Rena
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thank you for your reply.


Using atob() still returns gibberish. Am I wrong that the bookmark state should be able to be decoded to readable text?

Did you ever get a solution to this? I am also trying to decode the bookmark state, but unable to get anything other than gibberish as well.

Unfortunately, I did not. 😞

Helpful resources

PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.