> For the complete documentation index, see [llms.txt](https://docs.hex-rays.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.hex-rays.com/9.0sp1/user-guide/user-interface/menu-bar/edit/convert-to-data.md).

# Convert to data

```
 Action    name: MakeData
 
```

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 [setup data](/9.0sp1/user-guide/user-interface/menu-bar/options.md#setup-data-types) command.

If the [target assembler](/9.0sp1/user-guide/user-interface/menu-bar/options.md#specify-target-assembler) does not support double words or another data type, it will be skipped. To create a structure variable, use [Declare struct var](/9.0sp1/user-guide/user-interface/menu-bar/edit/structures.md#declare-a-structure-variable) command. To create an array, use [Array](/9.0sp1/user-guide/user-interface/menu-bar/edit/convert-to-array.md) command. To convert back, use [Undefine](/9.0sp1/user-guide/user-interface/menu-bar/edit/undefine-a-byte.md) command. See also [Edit](https://github.com/HexRaysSA/docs/blob/9.0sp1/user-guide/user-interface/menu-bar/edit/edit.md) submenu


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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/9.0sp1/user-guide/user-interface/menu-bar/edit/convert-to-data.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.
