There are some apps that can do that. CCleaner is less intrusive but does not work well with some devices. You might want to try each.
Just in case you want a quick method to clear your app data, and do not want to install anything, you could try opening your "Recent apps" (you can access it by tapping one of the buttons on the bottom of your phone, and it shows a list of all the apps that are open). Then long-press the app which needs to have its data cleared, and select "App Info". This will take you directly to the settings page in which you can clear the app's data.
pm clear PACKAGE
using adb or clear the cache files using a file explorer if rooted.