Parse Data URL

Parse and decode a data: URL, e.g., from a file upload or screenshot

Demos & Screenshots

No screenshots provided yet. Have some video demos or screenshots of this brick in the wild?
Send them over to [email protected]!

How to Use

No instructions provided yet. Have questions?
Ask the PixieBrix Community!


Name Required Type Description
url string
decodeText boolean Decode the body into text


Name Required Type Description
body string The body, decoded if decode flag was set
encoding string The encoding used to decode the body
mimeType string The MIME media type


ID @pixiebrix/data-url
Author @pixiebrix
Version 1.7.0
Created Sept. 28, 2021
Updated May 26, 2022

Related Bricks

  • No related bricks