I'm trying to import a list from Sharepoint On-Premise to Sharepoint Online. In the old list, the text was wrapped for both the title and the hyperlink column which gave the list an organized and clean look. After the import to Sharepoint Online, the title and hyperlink column are no longer wrapped and it doesn't seem like I'm able to change it in the column settings. I was trying to use the JSON formatting to fix it but I wasn't able to get it to work. Is there any way to do this?
You can force the list to display in the classic view by going to the List settings > Advanced Settings > List experience and selecting Classic experience:
In terms of wrapping the hyperlink field's text, I am afraid there is no out-of-the-box way of doing it.
As we can easily drag the length of the column, automatic line wrapping is canceled by default in SharePoint Online. Agree with Denis, you can use classic experience instead. Also, you can use multiple lines of text column instead of single line of text column and link column(use hyperlink).
You can give your feedback to Microsoft if you don't want to recreate columns via UserVoice. It is a place for customers provide feedback about Microsoft SharePoint products. What's more, if a feedback is high voted there by other customers, it will be promising that Microsoft Product Team will take it into consideration when designing the next version in the future.