If I open a .plist file in TextEdit, all the properties with type "data" are displayed in Base64 encoding, for example <data>SGFja2ludG9zaA==</data>.

Xcode shows these values in some other format, like <54657374 56616c75 65>. What is this format called, and how can I convert it to ASCII?

1 Answer 1


The data is just a hex dump of the decoded base64 encoding. To convert to ASCII, look the hex values up in the ASCII table. For your example:

54657374 56616c75 65



A convenient way to get the table is man ascii from a terminal prompt.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .