> For the complete documentation index, see [llms.txt](https://docs.sonsofphp.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sonsofphp.com/components/event-sourcing/event-messages/message-upcasters.md).

# Message Upcasters

Message Upcasters will modify raw event data before it is rebuilt back into a message. This is useful in case you want to change the format of event data if you screwed up or if you learned something new.
