# MD5 hex string from file

**URL:** <https://forums.unrealengine.com/t/md5-hex-string-from-file/131321>\
**Category:** C++\
**Tags:** unreal-engine\
**Created:** [September 19, 2019, 2:29pm UTC](https://forums.unrealengine.com/t/md5-hex-string-from-file/131321 "2019-09-19T14:29:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Antidamage](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/antidamage/32/918692_2.png) [@Antidamage](https://forums.unrealengine.com/u/Antidamage)\
**Post date:** [September 19, 2019, 2:29pm UTC](https://forums.unrealengine.com/t/md5-hex-string-from-file/131321/1 "2019-09-19T14:29:18Z")

</div>

How do you get an MD5 hex string from a file? (e.g: 3c9a9cc47ccffad2d19bc84dc6120bc7)

FMD5 only outputs binary checksums for files.

---

<div class="post-metadata">

**Author:** ![WisE\_DRL](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@WisE\_DRL](https://forums.unrealengine.com/u/WisE_DRL)\
**Post date:** [September 19, 2019, 5:28pm UTC](https://forums.unrealengine.com/t/md5-hex-string-from-file/131321/2 "2019-09-19T17:28:45Z")

</div>

```auto

    FMD5Hash Hash = FMD5Hash::HashFile(Filename));
    const FString HasAsString = LexToString(Hash);

```
