無料版

2.06
2.05

新機能

  • ブックマーク機能を追加した。Ctrl+Bで選択範囲またはカーソル位置の1byteを登録し、両欄の着色、一覧からのジャンプ、名前・色変更、表示切替に対応します。無料版では3件まで登録できます。 ファイルを閉じると消え、ファイルや設定には保存しません。
  • 編集メニューと右クリックメニューに「すべて選択 Ctrl+A」を追加した。
  • ステータスバー二段目のファイルサイズ左隣に、選択したbyte数を表示する欄を追加した。数値の区切りは表示言語に合わせ、警告や進捗と同時に表示します。
  • ステータスバーの二段目の右端に、縦の仕切りで区切った現在のバッファサイズ欄を追加した。正確なbyte数と、1024単位で換算したKB・MB・GBを表示し、数値の区切りは表示言語に合わせます。
  • Shift+クリックによる選択範囲の延長・縮小に対応した。既存の固定側、または未選択時の現在byteを基点として、クリックしたbyteを含めて選択します。
  • ドラッグ選択中の上下・左右自動スクロールに対応した。表示領域の外で50msごとに縦1行・横1byteセル分をスクロールし、表示領域に戻る・ボタンを離す・キャプチャやフォーカスを失うと停止します。

改善

  • ステータスバーを横線で区切った二段表示にし、位置・文字コード・編集状態などの通常情報を表示したまま、警告や処理の進捗を別の行に表示します。
  • 編集禁止の警告表示を0.9秒から5秒に延長し、解除方法を読み取りやすくしました。警告の表示中も操作できます。
  • 空ファイルで上書き入力を行った際、挿入モードへの切替方法をステータスバーに5秒間表示します。上書きモードではファイルサイズを変更しません。

バグ修正

ファイル・保存

  • 別ファイルを開けなかった際、元のファイルまで閉じてしまう問題を修正した。新しいファイルのオープンに成功するまで、元の文書と未保存の編集を保持します。
  • 別のプログラムがファイルに追記・変更した後に保存すると、外部の変更を切り捨てる問題を修正した。外部変更を検知すると、編集内容を破棄して再読み込みするかを問い合わせます。再読み込みしない場合は未保存の編集を保持し、保存を中止します。
  • 相対パスで開いた後に作業フォルダが変わると、別フォルダの同名ファイルへ保存する問題を修正した。開く時と別名保存の開始時に保存先を絶対パスで確定します。

選択・スクロール

  • 32GiBを超えるファイルで、縦スクロールバーのつまみを最下端へ戻してもファイル末尾を表示できない問題を修正した。矢印・ページ操作の移動量は維持し、全体をスクロールできるようにしました。
  • マウスで範囲選択した後にShiftキーで延長・縮小すると、元の開始点を失う問題を修正した。マウスを離した後も固定側を維持します。
  • Shift+上下・Home・PageUp/PageDownで選択byte数が移動量と一致しない問題を修正した。Shift+Endは行末byte、Ctrl+Shift+Endはファイル末尾のbyteまで選択します。
  • Shift+左右で移動量より1byte多く選択される問題を修正した。未選択の状態からShift+右を1回で現在の1byte、Shift+左を1回で直前の1byteを選択します。コピー・切り取り・削除もこの範囲を使用します。
  • Shift選択を開始位置まで戻しても1byteの選択が残る問題を修正した。開始境界へ戻ると選択を解除し、越えると逆方向に選択します。
  • 移動できない方向へShiftキーと移動キーを押すと、選択が発生したり変化したりする問題を修正した。選択用の先頭・末尾境界で停止します。
  • 挿入モードで末尾直後からShift選択した際、最終byteを誤って選択する問題を修正した。

編集・クリップボード

  • 上書きモードの貼り付けでファイルサイズが変わり、選択した元データが失われる問題を修正した。選択範囲と貼り付けデータのbyte数が異なる場合や、ファイル末尾を超える場合は、内容を変更せず理由を表示します。長さを変える貼り付けは挿入モードで行えます。
  • 貼り付けや編集履歴の復元で置換処理のメモリ確保に失敗した際、削除だけが残って編集内容を失う問題を修正した。失敗時は置換前の編集内容を保持します。
  • 大きな範囲の削除で、削除バイト数に比例する大量のメモリを要求する問題を修正した。削除を区間で保持し、削除前のメモリ確保に失敗した場合も編集内容を保持します。
  • 大範囲のコピー・切り取りで長時間操作できなくなる問題を改善した。16進数への変換を高速化し、準備中の進捗表示とEscによるキャンセルに対応しました。切り取りはクリップボードへの転送が成功してから削除します。
  • 大範囲の貼り付け中に進捗がなく操作できなくなる問題を改善した。準備中の進捗表示・Escキャンセル・画面応答の維持に対応し、解析後に必要なメモリを一度だけ確保します。内容を反映する段階はキャンセルできません。
  • 編集禁止中にCtrl+X/Ctrl+Vを押しても操作できない理由が表示されない問題を修正した。DELキーと同様に、ステータスバーに編集禁止の警告を表示します。

文字表示

  • Big5・GBK・CP949・EUC-KRで、長い2byte文字列の途中を表示すると行頭の文字境界がずれる問題を修正した。行頭が文字の後続byteの場合も、全体の解析と一致するようにしました。
  • Shift-JIS表示で前行の後続バイトを文字の先頭と誤認し、次行の文字がずれたり別の文字に化けたりする問題を修正した。

構造体ビュー

  • 過度に深い構造体定義の読み込みでスタックオーバーフローにより終了する問題を修正した。構造体の入れ子は128段までとし、上限を超える定義は読み込みエラーとして通知します。
  • 循環した typedef を含む構造体定義を読み込むとアプリが終了する問題を修正した。循環を検出して読み込みエラーにし、長い型別名の連鎖も再帰を使わずに解決します。
  • 大きな構造体のプレビューで全体サイズ分のデータを読み込み、応答停止やメモリ不足を招く問題を修正した。表示項目に必要な先頭部分のみを読み取り、巨大な配列の後続項目も表示します。解析中のメモリ確保失敗も処理するようにしました。
  • 構造体ビューの float/double の数値表示がエンディアン設定を無視する問題を修正した。指定したバイト順で浮動小数点値を解釈します。
  • 構造体ビューで符号付き整数を10進表示すると、負数が符号なしの値になる問題を修正した。型の符号情報を反映し、typedef 経由の型にも対応します。
  • 構造体ビューの解析結果を更新すると、ウィンドウや操作ボタンがちらつく問題を修正した。

画面表示・編集履歴

  • Ctrl+R で編集禁止を切り替えると、編集画面がちらつく問題を修正した。

配布構成の変更

  • ZIP には実行ファイル、resources フォルダ、ポータブル設定用マーカーを含みます。patterns と license.txt は同梱せず、サンプルとライセンスはこのサイトで確認できます。
  • 元の未変更 ZIP の再配布に関するライセンスファイル同梱条件を削除しました。
2.04

改善

  • 16進ダンプ領域に右クリック編集メニューを追加し、切り取り・コピー・貼り付け・削除・編集禁止を操作できるようにした。メニューキー/Shift+F10でも表示できます。
  • 「名前を付けて保存」を追加し、編集内容を別のファイルに保存できるようにした。
  • 編集メニューに切り取り(Ctrl+X)・コピー(Ctrl+C)・貼り付け(Ctrl+V)・削除(Del)を追加した。貼り付けは16進数テキストに対応し、選択範囲がある場合は置き換え、ない場合は現在の挿入・上書きモードに従います。
  • Microsoft Store版とメニュー構成をそろえ、無料版では利用できない機能をグレーアウトして表示するようにした。
  • Shiftキーと矢印・PageUp/Down・Home/End・Ctrl+Home/Endを組み合わせた範囲選択に対応した。
  • 左マウスボタンを押したまま移動キーを操作すると、マウスを動かさなくても選択範囲が更新されるようにした。

バグ修正

  • ベトナム語エンコーディング Windows-1258 で、「Đ」「é」などの文字が正しく表示されない問題を修正した。
  • 挿入・削除を含む編集後に、検索や範囲コピーが極端に遅くなる問題を修正した。
  • 保存途中で書き込みに失敗すると元ファイルが一部書き換わる問題を修正した。変更内容を一時ファイルに書き終えてから保存先を置き換えるようにした。
  • ファイル途中の広い範囲を削除した後、表示の更新に時間がかかり操作できなくなる問題を修正した。

構造体ビュー

  • 大きな配列を含む構造体定義でサイズ計算があふれ、入力データの範囲外を読み取ることがある問題を修正した。サイズ計算の上限を超える定義は、読み込み時にエラーにします。
2.03

改善

  • YuHex のアプリアイコンを更新し、バージョン情報ダイアログにも表示するようにした。

バグ修正

  • ファイル末尾のバイトを削除してから新しいバイトを追加すると、保存後の内容が正しくならない問題を修正した。
2.02

バグ修正

  • 検索結果が選択された状態で検索値を変更すると、選択開始位置にある一致を見落とす問題を修正した。
2.01

注意事項

  • ライセンスの文言を変更しました。引き続き、個人利用および商用利用は無料です。
  • MSIインストーラーのショートカット名を YuHex Free Edition に変更しました。
  • 2.00以前の古いバージョンをインストーラーから導入されている場合、事前にアンインストールすることを推奨します。設定は引き継がれます。アンインストールしない場合、古いショートカットが残ります。

改善

  • 複数起動したときにメインウィンドウが重ならないよう、起動時の表示位置を自動的にずらすようにした。
2.00

サポート

  • ダークモードを追加し、新しいクールスレートテーマを既定にした。
  • ファイルのフルパスの上限を260文字(UTF-16 code unit)から32K文字に拡張した。
  • インストーラー(.msi)の提供を追加した。
  • 表示言語としてベラルーシ語、ドイツ語、スペイン語、フランス語、ハンガリー語、イタリア語、韓国語、ポーランド語、ポルトガル語、ロシア語、ウクライナ語、中国語(簡体字)、中国語(繁体字)を追加した。

改善

  • 起動時のウィンドウ表示位置とサイズを改善し、小さい画面でも作業領域に収まりやすくした。
  • 配布形式に応じてJSON設定ファイルの保存先を切り替えるようにした。ZIP版は実行ファイルと同じフォルダ、MSI版は%LOCALAPPDATA%\YuHex、MSIX版はパッケージのLocalStateに保存する。

バグ修正

  • WSLなどのUNCパス上にあるファイルを保存したとき、編集内容が反映されない場合がある問題を修正した。

Free Edition

2.06
2.05

New Features

  • Added bookmarks. Ctrl+B marks the selection or the byte at the cursor, with highlighting in both columns, jumps from the list, name and color changes, and visibility control. The Free Edition supports up to three bookmarks. Bookmarks are cleared when the file is closed and are never saved to files or settings.
  • Added Select all (Ctrl+A) to the Edit and context menus.
  • Added a selected byte count immediately to the left of the file size in the second status-bar row. Number separators follow the display language, and the count remains visible alongside warnings and progress.
  • Added a separate current buffer size field at the right end of the second status row with a vertical divider, showing the exact byte count and KB, MB, or GB using 1024-based conversion. Number separators follow the display language.
  • Added Shift+Click to extend or shrink a selection. It keeps the existing fixed endpoint, or uses the current byte when nothing is selected, and includes the clicked byte.
  • Added vertical and horizontal autoscroll during drag selection. Outside the data viewport, it scrolls one row and one byte cell every 50 ms, stopping when the pointer returns, the button is released, or capture or focus is lost.

Improvements

  • Changed the status bar to two rows separated by a horizontal divider so position, encoding, and editing state remain visible while warnings and progress are shown on a separate row.
  • Extended the read-only warning from 0.9 to 5 seconds to make the instructions easier to read. Operations remain available while the warning is displayed.
  • Typing in overwrite mode in an empty file now shows a five-second status warning explaining how to switch to insert mode. Overwrite mode keeps the file size unchanged.

Bug Fixes

Files and Saving

  • Fixed the current document being closed when opening another file failed. The original document and unsaved edits are retained until the new file opens successfully.
  • Fixed a problem where saving after another program appended to or modified the file could discard the external changes. When external changes are detected, a prompt asks whether to discard edits and reload the file. If you decline, unsaved edits are retained and saving is blocked.
  • Fixed saving to a same-named file in another folder after opening a relative path and changing the working directory. File paths are now resolved to absolute paths when opening or starting Save As.

Selection and Scrolling

  • Fixed the vertical scrollbar failing to return to the end of files larger than 32 GiB when the thumb was dragged to the bottom. The scrollbar now covers the full file while retaining line and page movement distances.
  • Fixed losing the original anchor when extending or shrinking a mouse selection with Shift. The fixed endpoint is retained after releasing the mouse button.
  • Fixed selection lengths not matching movement with Shift+Up/Down, Home, and PageUp/PageDown. Shift+End includes the last byte of the row, and Ctrl+Shift+End includes the last byte of the file.
  • Fixed Shift+Left/Right selecting one extra byte. With no selection, Shift+Right selects the current byte and Shift+Left selects the preceding byte. Copy, Cut, and Delete use this corrected range.
  • Fixed a one-byte selection remaining after returning to the starting position with Shift. Returning to the anchor clears the selection; crossing it selects in the opposite direction.
  • Fixed selection being created or changed by Shift navigation that cannot move further. Selection now stops at the start and end boundaries.
  • Fixed incorrectly selecting the last byte when starting a Shift selection after the end of the file in insert mode.

Editing and Clipboard

  • Fixed overwrite-mode paste changing the file size and discarding selected bytes. Paste is rejected without changing the document when the selected and pasted byte counts differ or the data extends past the end of the file, with an explanation shown. Use insert mode to change the length.
  • Fixed data loss when memory allocation failed during replacement in paste or edit history restoration. Failed replacements now retain the previous edits.
  • Fixed excessive memory allocation proportional to the number of deleted bytes when deleting large ranges. Deletions are now stored as intervals, and allocation failures before deletion retain the edits.
  • Improved responsiveness when copying or cutting large selections. Hexadecimal conversion is faster, preparation progress is displayed, and Esc cancels preparation. Cut deletes the selection only after successful transfer to the clipboard.
  • Improved responsiveness during large pastes by adding preparation progress, Esc cancellation, and UI message processing. The decoded buffer is allocated once after validation. Applying the prepared edit cannot be cancelled.
  • Fixed missing feedback when Ctrl+X or Ctrl+V is pressed in read-only mode. The status bar now displays the same read-only warning as the Delete key.

Character Display

  • Fixed incorrect row boundaries in long two-byte sequences displayed as Big5, GBK, CP949, or EUC-KR. Rows beginning with a trailing byte now match parsing from the start of the document.
  • Fixed shifted or incorrect Shift-JIS characters at row boundaries caused by interpreting a trailing byte from the previous row as a leading byte.

Struct View

  • Fixed a stack overflow when loading excessively nested struct definitions. Struct embedding is limited to 128 levels, and deeper definitions now return a load error.
  • Fixed application termination when loading structure definitions with cyclic typedef aliases. Cycles now produce a loading error, and long alias chains are resolved without recursion.
  • Fixed excessive memory use when previewing large structures. Only the leading bytes needed for displayed fields are read, including fields after large arrays. Memory allocation failures during analysis are also handled.
  • Fixed float and double values in the structure view ignoring the endian setting. Floating-point values are now interpreted using the selected byte order.
  • Fixed negative signed integers appearing as unsigned values in decimal mode in the structure view. Type signedness is now respected, including typedef aliases.
  • Fixed flickering in the Struct View window and its buttons when updating analysis results.

Display and Edit History

  • Fixed flickering in the editor when toggling read-only mode with Ctrl+R.

Distribution Changes

  • The ZIP contains the executable, the resources folder, and a portable settings marker. It does not include patterns or license.txt. Samples and the license are available on this site.
  • Removed the requirement to include a license file when redistributing the original, unmodified ZIP.
2.04

Improvements

  • Added a right-click editing menu in the hex dump area for Cut, Copy, Paste, Delete, and Read-only mode. The menu can also be opened with the Menu key or Shift+F10.
  • Added Save As to save the current contents to a different file.
  • Added Cut (Ctrl+X), Copy (Ctrl+C), Paste (Ctrl+V), and Delete (Del) to the Edit menu. Paste accepts hexadecimal text and replaces the selected range, or follows the current insert or overwrite mode when no range is selected.
  • Aligned the menus with the Microsoft Store edition. Features unavailable in the free edition are shown disabled.
  • Added range selection using Shift with arrow keys, PageUp/Down, Home/End, and Ctrl+Home/End.
  • Selection now updates immediately when using navigation keys while holding the left mouse button, without moving the mouse.

Bug Fixes

  • Fixed incorrect display of characters such as Đ and é in Vietnamese encoding Windows-1258.
  • Fixed severe slowdowns in searching and copying ranges after edits involving byte insertions or deletions.
  • Fixed an issue where a failed write during saving could partially overwrite the original file. Edited contents are now fully written to a temporary file before replacing the destination.
  • Fixed long delays and an unresponsive editor when refreshing the display after deleting a large range in the middle of a file.

Struct View

  • Fixed a size calculation overflow in structure definitions containing large arrays that could cause reads outside the input data. Definitions that exceed the size calculation limit are now rejected when loaded.
2.03

Improvements

  • Updated the YuHex app icon and added it to the About dialog.

Bug Fixes

  • Fixed an issue where deleting bytes from the end of a file and then adding new bytes could save the wrong content.
2.02

Bug Fixes

  • Fixed an issue where changing the search value while a previous result was selected could miss a match beginning at the selected position.
2.01

Notes

  • The license wording has been changed. Personal and commercial use remain free.
  • The MSI installer shortcut name has been changed to YuHex Free Edition.
  • If you installed version 2.00 or earlier using the installer, uninstalling the old version first is recommended. Settings will be carried over. If you do not uninstall the old version first, the old shortcut will remain.

Improvements

  • Offset the initial main window position automatically so multiple YuHex instances do not open directly on top of each other.
2.00

Support

  • Added dark mode and made the new Cool Slate theme the default.
  • Expanded the maximum full file path length from 260 characters (UTF-16 code units) to 32K characters.
  • Added the installer (.msi) distribution.
  • Added display language support for Belarusian, German, Spanish, French, Hungarian, Italian, Korean, Polish, Portuguese, Russian, Ukrainian, Simplified Chinese, and Traditional Chinese.

Improvements

  • Improved the initial window position and size so the application fits better within the monitor work area on smaller screens.
  • Changed the JSON settings file location based on the distribution format. The ZIP version stores settings next to the executable, the MSI version stores them under %LOCALAPPDATA%\YuHex, and the MSIX version stores them in the package LocalState folder.

Bug Fixes

  • Fixed an issue where edits might not be reflected when saving files on UNC paths such as WSL paths.