There is probably a much simpler way to do this but here it is :) Works with numbers but not symbols! Check that it translated correct here! https://morsecode.world/international/translator.html Only works with a certain amount of letters otherwise you will need to see inside in order to be able to copy your whole message.
Code by Me Thumbnail from google