To clear WhatsApp data, open WhatsApp → Select " Settings " → Touch " Chats " → Select " Clear All Chats " → Return to the application.
Step
Method 1 of 3: On iOS Devices

Step 1. Open the WhatsApp application

Step 2. Touch Settings
It's in the lower-right corner of the screen.

Step 3. Touch Chats

Step 4. Touch Clear All Chats
After that, all messages present on all chat threads will be deleted from the device.
Use this option if you want to save your chat history, but don't want messages to take up a lot of device memory

Step 5. Touch Settings
It's in the top-left corner of the screen. Now, you have cleared WhatsApp data from the device.
Method 2 of 3: On Android Device

Step 1. Open the WhatsApp application

Step 2. Touch
It's in the upper-right corner of the screen.

Step 3. Touch Settings

Step 4. Touch Chats

Step 5. Touch Chat history

Step 6. Touch Clear All Chats
After that, all messages present on all chat threads will be deleted from the device.
Use this option if you want to save your chat history, but don't want messages to take up a lot of device memory

Step 7. Touch
It's in the top-left corner of the screen. WhatsApp data has now been cleared from the device.
Method 3 of 3: On a Desktop Computer

Step 1. Open the WhatsApp application

Step 2. Click the chat thread

Step 3. Click v
It's in the upper-right corner of the window.

Step 4. Click Clear Messages
After that, all messages that are on the selected thread will be deleted.

Step 5. Click Delete Chat
After that, the thread and its entire message will be deleted from the computer.

Step 6. Click Done
Your contact name has now been changed for all applications that use or sync with the Contacts application on Mac computers.