Yes — pick the image type from the dropdown and the tool builds the data URI for you. If the input already starts with data:image/..., that prefix is used and the dropdown is ignored.
The image shows as broken. Why?
Usually the Base64 is valid but the declared type is wrong — for example, PNG bytes labelled as JPEG. Try switching the image type. The other common cause is a truncated string, which the validator will catch.