# MakeData

## Description

Convert to data. This command converts the current unexplored bytes to data. If it is not possible, IDA will warn you.

Multiple using of this command will change the data type:

```
 db -> dw -> dd -> float -> dq -> double -> dt -> packreal -> octa \;
 ^                                                                 |;
 \---------<----------------<--------------<-----------------------/;
```

You may remove some items from this list using the Setup data types... command (action [`SetupData`](/ida-actions/setupdata.md)).

If the target assembler (Options → General... → Analysis) does not support double words or another data type, it will be skipped. To create a structure variable, use the Struct var... command (action [`DeclareStructVar`](/ida-actions/declarestructvar.md)). To create an array, use the Array... command (action [`MakeArray`](/ida-actions/makearray.md)). To convert back, use the Undefine command (action [`MakeUnknown`](/ida-actions/makeunknown.md)).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.hex-rays.com/ida-actions/makedata.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
